Bug #68869 [Nab]: Require and Include Files with Variables Doesn't Update Global Value on Refresh

From: Date: Thu, 22 Jan 2015 00:25:44 +0000
Subject: Bug #68869 [Nab]: Require and Include Files with Variables Doesn't Update Global Value on Refresh
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190123@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68869&edit=1 ID: 68869 User updated by: own3mall at gmail dot com Reported by: own3mall at gmail dot com Summary: Require and Include Files with Variables Doesn't Update Global Value on Refresh Status: Not a bug Type: Bug Package: Streams related Operating System: Ubuntu 14.04 PHP Version: 5.6.4 Block user comment: N Private report: N New Comment: opcache is enabled by default. I checked all of my php related ini files that were loaded as listed by phpinfo(); This was in my php.ini: ;opcache.enable=0 If it's commented out, opcache is enabled by default. If I uncomment the line like this: opcache.enable=0 It is then disabled. Clearly, that would suggest that opcache is enabled by default. If opcache is enabled by default, I would recommend setting the default settings to: opcache.validate_timestamps=1 opcache.revalidate_freq=0 Is this a bug then? Previous Comments: ------------------------------------------------------------------------ [2015-01-21 08:22:10] rasmus@php.net The default is that opcache is not enabled which means by default you wouldn't have seen this problem. You must have manually enabled it somewhere. grep through your other .ini file. phpinfo() will show you the ini files that were read on startup. ------------------------------------------------------------------------ [2015-01-21 06:38:44] own3mall at gmail dot com OK, well that's strange. That appears to work... But I wasn't even using opcache. It was commented out which I would assume means it was disabled? I guess not... Maybe the settings you sent me should be the defaults? ------------------------------------------------------------------------ [2015-01-21 05:09:18] rasmus@php.net Try uncommenting these entries and setting them like this: opcache.validate_timestamps=1 opcache.revalidate_freq=0 and restart apache, of course. ------------------------------------------------------------------------ [2015-01-21 04:55:35] own3mall at gmail dot com Which settings are you specifically interested in? My /etc/apache2/apache2.conf looks like this: http://pastebin.com/xWLweR55 My php.ini: http://pastebin.com/6ghRdN6P ------------------------------------------------------------------------ [2015-01-21 04:20:12] requinix@php.net What are your opcache settings? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=68869 -- Edit this bug report at https://bugs.php.net/bug.php?id=68869&edit=1

« previous php.bugs (#190123) next »