I'd like to modify opcache.interned_strings_buffer
to 12 via .htaccess
file
I've added the following block to .htaccess
:
php_value opcache.interned_strings_buffer 12
php_value max_execution_time 180
php_value max_input_vars 1760
However only max_execution_time
and max_input_vars
changed.
I verified that values changed by inspecting phpinfo()
output.
How to change opcache.interned_strings_buffer
via .htaccess
?
According to documentation, most opcache directives are PHP_INI_SYSTEM so they should be changeable on httpd.conf or .htaccess. But opcache is a zend extension and value cannot be updated via .htaccess. I guess this is the problem.
There is a ticket on php.net opened for 4 years.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.