• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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