• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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