[php-src] Issue #13828: PHP FPM 8.2.17 is not accurately checking cached files for changes

From: Date: Thu, 28 Mar 2024 20:12:14 +0000
Subject: [php-src] Issue #13828: PHP FPM 8.2.17 is not accurately checking cached files for changes
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246666@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/13828 Author: androos ### Description This is PHP 8.2.17 as provided by Plesk Obsidian (latest version). Any changes in files are not taken into account. When using an example code like this: ```php <?php function getSystemValue() { return php_uname(); } echo getSystemValue(); ``` As expected, the result is this: ``` Linux example.com 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 x86_64 ``` But if I change the code in the file, for example like this: ```php <?php function getSystemValue() { return php_uname(n); } echo getHostname(); ``` The result remains the same as before. ``` Linux example.com 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 x86_64 ``` But after restarting the responsible PHP FPM daemon, this is the result: ``` example.com ``` Which is the expected result. If you try the same with PHP FPM 8.1.27, the restart is not necessary to get the expected result after any changes. Opcache settings for 8.1 and 8.2 are the default settings. phpinfo for both 8.1 and 8.2 [PHP 8.1.27 - phpinfo().html.gz](https://github.com/php/php-src/files/14794900/PHP.8.1.27.-.phpinfo.html.gz) [PHP 8.2.17 - phpinfo().html.gz](https://github.com/php/php-src/files/14794902/PHP.8.2.17.-.phpinfo.html.gz) ### PHP Version PHP 8.2.17 ### Operating System Ubuntu 22.04.4 x86_64

« previous php.bugs (#246666) next »