• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue I can only get OPcache to work with PHP7...

Richard18

Basic Pleskian
Am I doing something obviously wrong? The opcache extension handler is enabled for both PHP7 and PHP5 in 'PHP Settings' in Plesk.

In the 'additional directives' part of PHP settings for the subscription I've added:
Code:
zend_extension=opcache.so;
opcache.enable=1;
opcache.memory_consumption=64;
opcache.interned_strings_buffer=8;
opcache.max_accelerated_files=3000;
opcache.revalidate_freq=180;
opcache.fast_shutdown=0;
opcache.enable_cli=0;
opcache.revalidate_path=0;
opcache.validate_timestamps=2;
opcache.max_file_size=0;
opcache.file_cache=/var/www/vhosts/domain/.opcache;
opcache.file_cache_only=1;

If I switch the subscription to use PHP7 (7.0.12), the cache files are generated, if I delete the cache files and switch the subscription to run PHP 5 (5.6.27) no cache files are ever generated.

If I swap it back to PHP7, the cache files are generated.

Plesk 12.5.30 MU#50
Ubuntu 14.04.5
PHP running as FPM application served by Apache.
 
Back
Top