Bug #79005 [NEW]: opcache validate_timestamps does not work with enable_file_override

From: Date: Fri, 20 Dec 2019 08:59:45 +0000
Subject: Bug #79005 [NEW]: opcache validate_timestamps does not work with enable_file_override
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224436@lists.php.net to get a copy of this message
From:             iquito at gmx dot net
Operating system: Debian Buster
PHP version:      7.4.1
Package:          opcache
Bug Type:         Bug
Bug description:opcache validate_timestamps does not work with enable_file_override

Description:
------------
When using php-fpm with opcache.validate_timestamps turned on and
opcache.enable_file_override turned on, no script is ever reloaded in
PHP 7.4.1 (it works as expected in 7.3.*). I am using the following
options:

opcache.enable = 1
opcache.enable_cli = 0
opcache.validate_timestamps = 1
opcache.revalidate_freq = 0
opcache.use_cwd = 1
opcache.enable_file_override = 1

As soon as I set opcache.enable_file_override to 0, then
validate_timestamps works again and changes to scripts are used by
php-fpm. It does not matter what kind of script you are using - in my
example, I used the following:

<?
//echo 'dada';
phpinfo();

And then I just changed the comment to the line with phpinfo, so the
page should show "dada", but that does not happen.


-- 
Edit bug report at https://bugs.php.net/bug.php?id=79005&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=79005&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=79005&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=79005&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=79005&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=79005&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=79005&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=79005&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=79005&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=79005&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=79005&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79005&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=79005&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=79005&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=79005&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=79005&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=79005&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=79005&r=mysqlcfg


Thread (5 messages)

« previous php.bugs (#224436) next »