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

Thanks. Dmitry.




On Thu, Oct 30, 2014 at 8:10 PM, Rasmus Lerdorf <ras...@lerdorf.com> wrote:

>
> https://github.com/php/php-src/blob/master/ext/opcache/zend_accelerator_module.c#L259
>
> That looks suspicious to me and in simple testing doesn't appear to be
> the case. I mean, you can set it per-dir, but it doesn't make any
> difference at that point. Dmitry, could you go through the list of
> opcache directives in zend_accelerator_module.c and make sure the
> directives that are really only settable globally are marked as
> PHP_INI_SYSTEM?
>
> -Rasmus
>

Reply via email to