Bulent Tekcan

Well-Known Member
May 11, 2004
185
2
168
cPanel Access Level
Root Administrator
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,
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
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.