• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved Configure Opcache for all domains

Kingsley

Silver Pleskian
Hello;

Since Opcache is enabled for each domain on the server by default i would like to know where to add the following settings.

Code:
zend_extension=opcache.so

opcache.memory_consumption=256
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1
opcache.enable=1

Thanks
 
zend_extension=opcache.so
For PHP 7, for example, it is already defined in /opt/plesk/php/7.0/etc/php.d/10-opcache.ini

# grep opcache.so /opt/plesk/php/7.0/etc/php.d/10-opcache.ini
zend_extension=opcache.so

opcache.memory_consumption=256 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=1 opcache.enable=1
In the same /opt/plesk/php/7.0/etc/php.d/10-opcache.ini
 
For PHP 7, for example, it is already defined in /opt/plesk/php/7.0/etc/php.d/10-opcache.ini

# grep opcache.so /opt/plesk/php/7.0/etc/php.d/10-opcache.ini
zend_extension=opcache.so


In the same /opt/plesk/php/7.0/etc/php.d/10-opcache.ini

How do i restart the php-fpm so changes can take effect please
 
Back
Top