Topic: Repo offers PHP 7.4.8 which is unreleased and segfaults
Hey there,
on http://rpms.remirepo.net/enterprise/7/p … /repoview/ today packages for PHP 7.4.8 appeared, which is a bit disturbing because the official PHP website still lists 7.4.7 as the most current and stable version, as of now while I am posting.
Besides that, it seems that on the commandline everything ends with a segfault except just outputting the version:
[root@stardust ~]# /opt/remi/php74/root/usr/bin/php -v
PHP 7.4.8 (cli) (built: Jul 7 2020 09:27:45) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.8, Copyright (c), by Zend Technologies
[root@stardust ~]# /opt/remi/php74/root/usr/bin/php -r "echo '';"
Segmentation fault
This is on the most current CentOS 7 release:
[root@stardust ~]# cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)
We observed similar problems before but only if
opcache.enable_cli=1
was set, so we checked that already, but even setting
opcache.enable_cli=0
in
/etc/opt/remi/php74/php.d/10-opcache.ini
does not prevent that segfault from happening.
However, completely _removing_ the opcache by commenting out the
zend_extension=opcache
line in
10-opcache.ini
fixes the problem, so that is at least some pointer.
Downgrading to 7.4.7 this problem disappears, with unchanged config.
Any clues or insights on this?
Thanks,
Jonas