OpCache Configuration in EA 4 PHP 5.6
Hi,
I am new to all this :), I have found (working on WHM) in the end of php.ini settings some code for OPCACHE configuration
see image
- Removed -
but if I change some parameters, for example, mem consumption to 512 and save php.ini file changes not affects to Opcache, can anyone tell me how to change OPcache settings? Thank you
;zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20121212/opcache.so"
; PHP Recommended Opcache settings
; See http://php.net/manual/en/opcache.installation.php
opcache.memory_consumption=256
opcache.interned_strings_buffer=16
opcache.max_accelerated_files=8000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
;zend_extension="/usr/local/Zend/lib/Guard-7.0.0/php-5.5.x/ZendGuardLoader.so"
allow_url_include = Offbut if I change some parameters, for example, mem consumption to 512 and save php.ini file changes not affects to Opcache, can anyone tell me how to change OPcache settings? Thank you
-
Hello @nnnswordfish, Can you verify which PHP handler is enabled for the account you are testing the PHP configuration settings with? For instance, is PHP-FPM enabled for the account? You can check via WHM >> MultiPHP Manager. Thank you. 0 -
Thanks for the reply, Yes PHP-FPM is enabled and handler is dso. 0 -
Yes PHP-FPM is enabled and handler is dso.
Hello @nnnswordfish, Additional steps are required when making PHP configuration changes on accounts using PHP-FPM. Here's a post with instructions on how to modify PHP values globally for PHP-FPM: Let me know if this helps. Thank you.0
Please sign in to leave a comment.
Comments
3 comments