[php-src] Issue #8159: Apache / PHP segfaults (PHP 8.0 and 8.1, but also 7.4)
| From: | unix-world | Date: | Fri, 11 Mar 2022 14:18:59 +0000 |
| Subject: | [php-src] Issue #8159: Apache / PHP segfaults (PHP 8.0 and 8.1, but also 7.4) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240300@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8159
Comment Author: unix-world
@dstogov
Why the PHP 7.3.33 does not crash with the exactly same apache build and exactly same configuration
?
I currently have 4 versions of PHP all installed:
7.3.33
7.4.28
8.0.16
8.1.3
Except 7.3.33 all the rest are crashing.
How can you explain this ? I noticed all the crashing versions (7.4.x / 8.0.x / 8.1.x) have inside
opcache code a major change:
`the accel_activate method is called in a completely different place:
ext/opcache/zend_accelerator_module.c`
but in 7.3.33 which is not crashing
the accel_activate method is called in ext/opcache/ZendAccelerator.c
I suspect is something about this change ... because the opcache JIT is just in 8.0.x and 8.1.x but
7.4.x still crashes and does not have yet the opcache JIT...