Bug #71042 [NEW]: opcache directives are not PHP_INI_SYSTEM
| From: | mentalstring+phpnet at gmail dot com | Date: | Sun, 06 Dec 2015 13:02:11 +0000 |
| Subject: | Bug #71042 [NEW]: opcache directives are not PHP_INI_SYSTEM | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-197632@lists.php.net to get a copy of this message | ||
From: mentalstring+phpnet at gmail dot com
Operating system: linux
PHP version: 5.6.16
Package: opcache
Bug Type: Bug
Bug description:opcache directives are not PHP_INI_SYSTEM
Description:
------------
According to documentation, most opcache directives are PHP_INI_SYSTEM
so they should be changeable on httpd.conf (php_value et all).
I was trying to update opcache.error_log with php_value but the value
set in php.ini is the one outputed by opcache_get_configuration() is the
one being used. I tested updating a few other opcache PHP_INI_SYSTEM
directives with no success â only opcache.enable worked.
Test script:
---------------
in php.ini:
opcache.error_log=/var/log/php.log
apache configuration:
php_value opcache.error_log "/var/www/example.com/log/php.log"
Expected result:
----------------
opcache_get_configuration() should show:
opcache.error_log = "/var/www/www.postcrossing.com/log/php.log"
Actual result:
--------------
opcache_get_configuration() shows:
opcache.error_log=/var/log/php.log
--
Edit bug report at https://bugs.php.net/bug.php?id=71042&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=71042&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=71042&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=71042&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=71042&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=71042&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=71042&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=71042&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=71042&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=71042&r=support
Expected behavior: https://bugs.php.net/fix.php?id=71042&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=71042&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=71042&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=71042&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=71042&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=71042&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=71042&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=71042&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=71042&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=71042&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=71042&r=mysqlcfg