Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cannot load Zend OPcache but loaded

Discussion in 'EasyApache' started by Bulent Tekcan, Feb 12, 2018.

  1. Bulent Tekcan

    Bulent Tekcan Well-Known Member

    Joined:
    May 11, 2004
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    166
    AH01215: Cannot load Zend OPcache - extension already loaded: /usr/local/cpanel/cgi-sys/ea-php56

    My php -v result

    ea-php-cli Copyright 2017 cPanel, Inc.
    Cannot load Zend OPcache - extension already loaded
    Cannot load Zend OPcache - extension already loaded
    PHP 5.6.32 (cli) (built: Nov 7 2017 04:13:51)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies


    My error.log has tons of this error.

    After that result I found one more entry (opcache.so) in /opt/cpanel/ea-php56/root/etc/php.d/zendguard.ini and comment out.

    ; Enable Zend Guard Loader extension module
    zend_extension="/opt/cpanel/ea-php56/root/usr/lib64/php/modules/ZendGuardLoader.so"
    ; zend_extension="/opt/cpanel/ea-php56/root/usr/lib64/php/modules/opcache.so"

    Is it OK ? But I cannot see any opcache.so entry any .ini files

    Any idea for this ?

    Regards,
     
    #1 Bulent Tekcan, Feb 12, 2018
    Last edited by a moderator: Feb 14, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,961
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You could uninstall Zend Guard via "WHM >> EasyApache 4". Then, check to see if any existing entries for it remain in any of the .ini files under the /opt/cpanel/ea-php56/root/etc/php.d/ directory. If so, remove those entries and then reinstall Zend Guard via "WHM >> EasyApache 4".

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice