If PHP is compiled on a newer kernel, it requires getrandom which is not available on older kernels. That causes problems when Fedora runs in a container on a host with an older kernel (e.g. RHEL 7). PHP should fallback to urandom in these cases. The bug has been fixed upstream, see the linked bug report. This bug has a potential to break pretty much every security-concerned php app running on Fedora in a container on a host with an older kernel which is a typical scenario. In my case, it broke Nextcloud running on Fedora 25 in openvz on CentOS 7. A temporary solution is downgrading to PHP 7.0.15 which doesn't suffer from this bug.
The fix for upstream bug 74105 will be part of PHP 7.0.17 (planed for March 17th). I will try to provide a 7.0.17RC1 build later this week (planed for March 2nd).
Package: php-7.1.3-0.1.RC1.fc26 Status: complete Built by: remi Package: php-7.0.17-0.1.RC1.fc25 Status: complete Built by: remi
php-7.0.17-0.1.RC1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8f457feb78
php-7.0.17-0.1.RC1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8f457feb78
The provided build has fixed the issue for me.
php-7.0.17-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-79e959b421
php-7.0.17-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-79e959b421
php-7.0.17-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.