Bug #79588 [NEW]: Boolean opcache settings ignore on/off values

From: Date: Mon, 11 May 2020 16:45:59 +0000
Subject: Bug #79588 [NEW]: Boolean opcache settings ignore on/off values
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227004@lists.php.net to get a copy of this message
From: vedad at kajtaz dot net Operating system: FreeBSD 12.1-RELEASE PHP version: 7.4.5 Package: *Configuration Issues Bug Type: Bug Bug description:Boolean opcache settings ignore on/off values Description: ------------ The following opcache settings (and possibly others), marked as boolean in the documentation, do not seem to be properly taken into account when set to literal on of off in php.ini / fpm configuration file: opcache.file_cache_only opcache.revalidate_path opcache.save_comments Specifically, phpinfo() displays "no value" instead of "0"/"1" or "Off"/"On", while the literal 0 and 1 result in phpinfo displaying "0"/"1". I'm unsure whether this is a phpinfo() display glitch only, or if the provided configuration values are actually ignored, but it's definitely inconsistent with other settings (eg. opcache.revalidate_path, opcache.use_cwd, ..., also marked boolean in the documentation). -- Edit bug report at https://bugs.php.net/bug.php?id=79588&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79588&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79588&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79588&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79588&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79588&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79588&r=support Expected behavior: https://bugs.php.net/fix.php?id=79588&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79588&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79588&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79588&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79588&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79588&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79588&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79588&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79588&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79588&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79588&r=mysqlcfg

« previous php.bugs (#227004) next »