Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78700 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67740 invoked from network); 5 Nov 2014 02:33:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 02:33:58 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.214.169 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.214.169 mail-ob0-f169.google.com Received: from [209.85.214.169] ([209.85.214.169:35090] helo=mail-ob0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/72-54119-59C89545 for ; Tue, 04 Nov 2014 21:33:57 -0500 Received: by mail-ob0-f169.google.com with SMTP id va2so11894667obc.28 for ; Tue, 04 Nov 2014 18:33:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ZYUL8+07PobOmImOim2Cdmyfwah3EZYL1jjgzC1cp10=; b=FM1+ge93YCBT404vSYgRNnE0kZTzwmY5EEiw4JLDdK6q/ctQ15rl3GhyD/5/oXd6DR 96v++9W6YqvxI22GvsipvE3VqEeqC81cbCFPFuufZMT7z+msiIa3rRikA3lXYCFz8sVC /sCPpOXi1Wc49nLYNZ+0bvRuCznWb99J6I0vr5hmmoBl3zW5csDiLNIWhS9JDGWVbsQU DAUZO5FKkdY5oBb7em/VCM8+EYcXn7okr/M7iihQvY+wFM2R2Ti1NFD4Ba1Di9HJH6uD eaKYCSL7ULKvD00QwZ3wC0XoDC1UY1qEZytWLh3CU6Kb2m/LOuOeAjVF96uIoYDHKf8c md1g== X-Gm-Message-State: ALoCoQkoyCAg/wM7tKQmAULR2QHCuHdck0bVRWbdsknc3BMnstUoaTn0ysiWeSrWOV8KJ1vdQ78CLGPu/ja8umoB8M3o8NleQ5OucXjGu2RD7jJ53B7xbhP2fUAZCJnmv+loUW1nX2OoJ4VCfEd/Xvd4dt25C4DXBQ== MIME-Version: 1.0 X-Received: by 10.60.140.229 with SMTP id rj5mr7892145oeb.46.1415154834409; Tue, 04 Nov 2014 18:33:54 -0800 (PST) Received: by 10.60.70.41 with HTTP; Tue, 4 Nov 2014 18:33:54 -0800 (PST) In-Reply-To: <54527117.6000402@lerdorf.com> References: <54527117.6000402@lerdorf.com> Date: Wed, 5 Nov 2014 06:33:54 +0400 Message-ID: To: Rasmus Lerdorf Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7b41845b35250f050713692f Subject: Re: opcache.revalidate_freq is PHP_INI_ALL? From: dmitry@zend.com (Dmitry Stogov) --047d7b41845b35250f050713692f Content-Type: text/plain; charset=UTF-8 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 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 > --047d7b41845b35250f050713692f--