• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Resolved opcache run only for one domain

Nicola

Basic Pleskian
Hi,
I enabled opcache in php.ini but opcache work only for 1 domain. I just set to "on" the parameter "opcache.enable" in each domain, but the resul do not change.

What is the problem?

Thank's a lot
 
Hi,
I enabled opcache in php.ini but opcache work only for 1 domain. I just set to "on" the parameter "opcache.enable" in each domain, but the resul do not change.

What is the problem?

Thank's a lot

Hello,
what do you mean by opcache work only for one domain ? How have you check that ?
 
Are the PHP handlers the same?

Check if Opcache is enabled for the specific handler;

Tools & Settings > PHP Settings > Whatever the handler is
 
I check that because in "/var/cache/opchace/" there are files stored for only one domain. The handler that I use is the same for all domains (php 7.1.14)
 
Last edited:
I check that because in "/var/cache/opchace/" there are files stored for only one domain. The handler that I use is the same for all domains (php 7.1.14)

Hello, opcache store cache in memory. To check opcache usage you can use a tool like opcache-status, you just have to upload this php file into your website directory.
 
Back
Top