Skip to main content

EA4+MPM-EVENT+PHP56+PHP-FPM - No OpCache?

Comments

3 comments

  • cPanelMichael
    My issue is when I try to build Apache with the Zend Opcache, the module is ignored in the build. No errors but when I check for the existence of Opcache it's not loaded.

    Hello, Could you let us know what method you are using to verify Opcache is enabled? You can verify it's enabled by checking the PHP version. EX:
    # /opt/cpanel/ea-php56/root/usr/bin/php -v PHP 5.6.28 (cli) (built: Nov 14 2016 15:25:57) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd., and with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
    Thank you.
    0
  • elawrenc01
    Hello, Could you let us know what method you are using to verify Opcache is enabled? You can verify it's enabled by checking the PHP version. EX:
    # /opt/cpanel/ea-php56/root/usr/bin/php -v PHP 5.6.28 (cli) (built: Nov 14 2016 15:25:57) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd., and with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
    Thank you.

    Yep, mine says the same thing. I was confused by this extension not showing as enabled. I'm guessing answer here is OpCache is already integrated and enabled in 5.6. Thank you for your help. 43923 43927
    0
  • cPanelMichael
    Yep, mine says the same thing. I was confused by this extension not showing as enabled. I'm guessing answer here is OpCache is already integrated and enabled in 5.6.

    You likely encountered the following message: Package ea-php56-php-opcache-5.6.28-1.1.2.cpanel.x86_64 is obsoleted by ea-php56-php-zendguard-3.3-5.6.28.cpanel.x86_64 which is already installed
    Opcache is provided as part of the Zendguard PHP extension in PHP versions 5.5 and newer. We have an internal case open to ensure this works as expected, to reduce the confusion in the EA4 profile UI, and to update our documentation to reflect how this works. Thank you.
    0

Please sign in to leave a comment.