Skip to main content

OPcache information not showing in phpinfo

Comments

5 comments

  • cPanelMichael
    Hello @bluecup, I couldn't reproduce this in a test environment. Information about the Zend OPcache PHP extension appears in the PHPINFO file for an account with PHP-FPM enabled. Can you run the following command and let us know the output? rpm -qa|grep opcache
    Also, what version of PHP is utilized by the account you are testing this on? Thank you.
    0
  • bluecup
    rpm -qa|grep opcache

    That didn't return anything.
    Also, what version of PHP is utilized by the account you are testing this on?

    PHP 7.0.30
    0
  • cPanelMichael
    Hello @bluecup, The lack of output from the rpm -qa|grep opcache command suggests the OPcache extension for PHP is not installed, or that you are using EasyApache 3. Can you verify if EasyApache 3 is installed on this system, and if so, let us know if there's anything in-particular that's preventing you from upgrading to EasyApache 4? If you're already using EasyApache 4, then you can install the OPcache extension for PHP 7.0 using the following command: yum install ea-php70-php-opcache
    Thank you.
    0
  • bluecup
    Can you verify if EasyApache 3 is installed on this system, and if so, let us know if there's anything in-particular that's preventing you from upgrading to EasyApache 4?

    EasyApache 4 was installed on the system.
    yum install ea-php70-php-opcache

    This worked. Thanks!
    0
  • cPanelMichael
    Hello @bluecup, I'm glad to see that worked. I've marked this thread as solved. Thanks!
    0

Please sign in to leave a comment.