Re: opcache.revalidate_freq is PHP_INI_ALL?

From: Date: Wed, 05 Nov 2014 05:35:03 +0000
Subject: Re: opcache.revalidate_freq is PHP_INI_ALL?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-78704@lists.php.net to get a copy of this message
On 11/04/2014 06:33 PM, Dmitry Stogov wrote: > Hi Rasmus, > > Sorry for delay, I'm just back to work after ZendCon and holidays. > > opcache.revalidate_freq is PHP_INI_ALL on purpose. > Scripts that generate and include the same file again and again should > set it to 0 to check for modification on each include. > > I didn't get what did you meant by "but it doesn't make any difference > at that poin", but I see that this re-validate logic may be implemented > improperly. Can you please check, if the following patch fixes the problem. > > https://gist.github.com/dstogov/a7d3e136c6e857ff02b5 Aha, yes, now it works. Before your patch it looked like it was ignoring the locally-configured setting. -Rasmus

« previous php.internals (#78704) next »