Bug #74437 [NEW]: Opcache CLI Enabled by default in 7.1
| From: | alasdair dot stalker at googlemail dot com | Date: | Fri, 14 Apr 2017 11:03:47 +0000 |
| Subject: | Bug #74437 [NEW]: Opcache CLI Enabled by default in 7.1 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-208544@lists.php.net to get a copy of this message | ||
From: alasdair dot stalker at googlemail dot com
Operating system: Linux
PHP version: 7.1Git-2017-04-14 (Git)
Package: opcache
Bug Type: Bug
Bug description:Opcache CLI Enabled by default in 7.1
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 bug report at https://bugs.php.net/bug.php?id=74437&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74437&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74437&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74437&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74437&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74437&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74437&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74437&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74437&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74437&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74437&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74437&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74437&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74437&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74437&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74437&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74437&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74437&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74437&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74437&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74437&r=mysqlcfg