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,
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: