I cannot enable opcache for PHP 5.5.38, phpinfo() shows
Zend OPcache
Opcode Caching Disabled
Optimization Disabled
I tried three options with no success:
1. Switching opchache On in Domain->PHP Settings
2. Adding PHP directives directly on the same PHP settings page:
3. Adding the above directives into php ini files in
/opt/plesk/php/5.5/etc
or
/var/www/vhosts/system/mydomaincom/etc
The same result - opcacne is not enabled and shows as disabled in phpinfo().
Note. Enabling opcache works perfectly find for PHP 7. Why cannot I enable it for PHP 5.5?
What am I doing wrong?
Thanks
Zend OPcache
Opcode Caching Disabled
Optimization Disabled
I tried three options with no success:
1. Switching opchache On in Domain->PHP Settings
2. Adding PHP directives directly on the same PHP settings page:
Code:
opcache.enable=1
opcache.memory_consumption=128
opcache.max_accelerated_files=4000
opcache_revalidate_freq = 240
3. Adding the above directives into php ini files in
/opt/plesk/php/5.5/etc
or
/var/www/vhosts/system/mydomaincom/etc
The same result - opcacne is not enabled and shows as disabled in phpinfo().
Note. Enabling opcache works perfectly find for PHP 7. Why cannot I enable it for PHP 5.5?
What am I doing wrong?
Thanks
Last edited: