|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79588 Boolean opcache settings ignore on/off values
Submitted: 2020-05-11 16:45 UTC Modified: 2020-05-12 14:23 UTC
From: vedad at kajtaz dot net Assigned: cmb (profile)
Status: Closed Package: opcache
PHP Version: 7.4.5 OS: FreeBSD 12.1-RELEASE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: vedad at kajtaz dot net
New email:
PHP Version: OS:


 [2020-05-11 16:45 UTC] vedad at kajtaz dot net
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:


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).


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-05-12 14:18 UTC]
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-05-12 14:18 UTC]
This is a display glitch only, but nonetheless should be improved.
 [2020-05-12 14:23 UTC]
The following pull request has been associated:

Patch Name: Fix #79588: Boolean opcache settings ignore on/off values
On GitHub:
 [2020-05-12 14:23 UTC]
-Package: *Configuration Issues +Package: opcache
 [2020-05-12 17:51 UTC]
Automatic comment on behalf of
Log: Fix #79588: Boolean opcache settings ignore on/off values
 [2020-05-12 17:51 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Mar 26 07:05:48 2023 UTC