• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • 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