opcache

  1. D

    How to disable PHP-OPcache per user/site

    Hi, I just used EasyApache to enable PHP-OPcache (using php 7.1) to optimize my Magento 2 website performance. However, it created error for my other websites on same hosting; my other website display blank page or keep redirect back to installation page. I checked, there is some kind of heavy...
  2. M

    File Based Opcache problem

    Hi there I am trying to enable file based opcache so the scripts stay cached when the domains don't have traffic and can be re-loaded compiled from the SSD drives, instead of needing to be recompiled every time, by using opcache.file_cache="/tmp/php_opcache" in the php.ini files. All the other...
  3. B

    SOLVED Opcache large number of hits

    Hello, I just installed Opcache on php5.6. Everything went fine and i installed the opcache Gui. Everything look good with 100% hit rate My concern is that it shows millions of hits even after few hours. My wordpress site gets only ~200visit per day. Under File Usage in the GUI I can see the...
  4. M

    Need a little advice on OpCache config

    I admit I stay a tad behind the curve, and this morning I've finally added OpCache to my EA PHP 7.0, 7.1, 7.2, 7.3 (in a CloudLinux 6 environment with Apache 2.4.38, PHP 7.2 native with PHP-FPM, http2, mySQL 5.75, mpm_event) and I'm hoping that someone might give advice on OpCache config...
  5. C

    PHP 7.3 and OPcache problem

    Hi, Just took advantage of the recent release of PHP 7.3 with OPcache. I've been running a file which allows me to see how OPcache is functioning [removed] It doesn't appear that after the upgrade to PHP 7.3 with OPcache that OPcache is caching files. Based on the status it appears that there...
  6. S

    OPCache not working in All domains

    I have Zend opcache compiled with PHP5.6.2 and enabled it in /usr/local/lib/php.ini file with following configuration When i checked it with one of my domains in my server using phpinfo(); , There i can see Opcache is enabled and running. But when i checked the same with other domains, Opcache...
  7. MajorLancelot

    OpCache and Shared Hosting Environment

    Hi. I was wondering what approach you have adopted as a "root" admin when it comes to: opcache.validate_timestamps=1 opcache.revalidate_freq=2 Did you enable timestamp_validation to speed up changes or was it disabled? Thanks!
  8. S

    SOLVED PHP-FPM Multi-php ini Configuration change not being applied?

    hi everyone, Recently we converted to php-fpm and I was happy with it, the majority of sites are still on php-56 though, and hence I modified the /opt/cpanel/ea-php56/root/etc/php.ini opcache.enable=1 opcache.enable_cli=1 opcache.memory_consumption=2512 opcache.interned_strings_buffer=8...
  9. N

    OpCache Configuration in EA 4 PHP 5.6

    Hi, I am new to all this :), I have found (working on WHM) in the end of php.ini settings some code for OPCACHE configuration see image - Removed - ;zend_extension="/usr/local/lib/php/extensions/no-debug-non-zts-20121212/opcache.so" ; PHP Recommended Opcache settings ; See...
  10. I

    opcache for php5.4

    hello I wonder if there package for opcache php5.4 ? i only see opcache packages in EA4 available with php 6.5 and above
  11. C

    Opcache and experimental FCGId

    It was asked before (What are the basic prerequisites to enable PHP opcache) but I cannot re-open such an old thread, that's why I created a new one. What's the status for opcache under experimental factcgi module: Apache Module: FCGId - EasyApache 4 - cPanel Documentation. Does it work with...
  12. B

    SOLVED OPcache information not showing in phpinfo

    I've got OPcache installed and PHP-FPM enabled for my domain. However when I viewed the phpinfo() details, "Zend OPcache" section is completely missing from the details. So I'm not able to see whether OPcache is even working well. I was expecting to see the Zend OPcache section something like...
  13. J

    OPcache "up and running" but doesn't cache any scripts

    I installed and enabled OPcache (EasyApache 4, FastCGI, non-shared VPS) using WHM»Software»Easy Apache 4»All PHP Options + OpCache. My sites run PHP 5.6.33 (ea-php56). phpinfo() confirms that "Opcode caching" is "Up and Running". I also monitor OPcache using opcache-gui-2.4.0. It tells me...
  14. R

    php-FPM with opcache vs php-FPM with Redis

    Hello! If I understand correctly, than a Redis Cache is not compatible with CPanel's opcache on EA4. As we need to implement some caching, I have the question: The server has custom software, Drupal, Joomla and Wordpress web pages. What cons / pros from security, performance and administration...
  15. Rodrigo Gomes

    Is "All PHP Options + OpCache" option safe to use?

    The profile "All PHP Options + OpCache" in EasyApache 4 is safe to use with shared hosting? I've read the documentation, but I'm not completely sure that it's safe to use this profile on a hosting with several websites. I also noticed that the documentation strongly recommends the use of DSO...
  16. D

    OpCache Tuning

    Hi, I am trying to get some reasonable performance out of my WHM/cPanel/Cloudlinux/mod_lsapi VPS. At the moment I am trying to configure opcache for PHP7.1 The plan is to host WordPress websites, and the occasional static HTML/JS site, nothing else. Here is what I got thus far: opcache...
  17. H

    Configuring Opcache across multiple accounts

    Hi, I have searched on Google and this forum with no luck, apologies if there's an answer to this already, I couldn't find it. I just provisioned PHP 7 and 7.1 on our dedicated server which hosts several accounts. Questions: 1. Should the opcache settings be done at a global level on WHM's...
  18. T

    Opcache not working?

    According to the opcache status script, it seems opcache isn't working. I'm on CentOS 7 and running suPHP and the handler is CGI. Is there something I should be checking or something else I should do? OpCache Status total memory: 128.00MB used memory: 10.48MB free memory: 117.52MB wasted...
  19. B

    OpCache Constantly Restarting Itself

    Hello, I have problem with opcache, it keep restarting itself like every hour constantly. I've tried all solutions on the internet but no luck, problem still persist. I am using CPanel, Centos 6.8 x64, Litespeed Webserver, EasyApache4, PHP 7.1.2 PHP Handler: FCGI My Opcache Version is: Zend...
  20. G

    How to know if OpCache is working?

    I am in a shared hosting environment and there is an php extensions area in the cPanel clicked it and enabled the OpCache, but how do I know if it's working or not?