• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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