• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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