Doc #74437 [Asn->Csd]: Opcache CLI Enabled by default in 7.1

From: Date: Fri, 14 Apr 2017 14:09:17 +0000
Subject: Doc #74437 [Asn->Csd]: Opcache CLI Enabled by default in 7.1
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14625@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74437&edit=1 ID: 74437 Updated by: peehaa@php.net Reported by: alasdair dot stalker at googlemail dot com Summary: Opcache CLI Enabled by default in 7.1 -Status: Assigned +Status: Closed Type: Documentation Problem Package: opcache Operating System: Linux PHP Version: 7.1Git-2017-04-14 (Git) Assigned To: peehaa Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2017-04-14 14:08:38] peehaa@php.net Automatic comment from SVN on behalf of peehaa Revision: http://svn.php.net/viewvc/?view=revision&revision=342325 Log: Documented changes of opcache cli being enabled by default on 7.1.2 #74437 ------------------------------------------------------------------------ [2017-04-14 12:58:50] alasdair dot stalker at googlemail dot com I've not submitted any other bugs regarding this. I'm not sure how to describe it very well other than that we run a series of consumers of jobs from a queue and that when starting up caused a large CPU spike and also a knock on with high memory usage. ------------------------------------------------------------------------ [2017-04-14 12:33:21] Maggus dot staab at googlemail dot com Did you open separate bugs for the issues you were running into with enabled cli opache? ------------------------------------------------------------------------ [2017-04-14 11:03:41] alasdair dot stalker at googlemail dot com Description: ------------ It looks like opcache has been enabled by default for CLI starting in 7.1. This doesn't match the configuration details and there are various comments stating that it wouldn't be enable by default from what I can tell. I did find it hard to track the changes though and there seems to be some base branch switching issues too. I couldn't see a Changelog entry for it either. https://github.com/php/php-src/pull/2290/files http://php.net/manual/en/opcache.configuration.php https://github.com/php/php-src/pull/2238#issuecomment-271219770 I've marked as a bug rather than a documentation issue as it seems like it was set in error perhaps. It certainly caused us a deal of infrastructure issues (just going from 7.0 to 7.1 and until we disabled opcache for cli). Hopefully I've submitted this in the right place. Expected result: ---------------- opcache.enable_cli=0 in php.ini-production opcache.enable_cli=0 in php.ini-development or Documentation updated ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74437&edit=1

« previous php.doc.bugs (#14625) next »