Skip to main content

Cannot load Zend OPcache

Comments

6 comments

  • HostingH
    Hello, It seems that there is multiple entries for Zend OPcache in php configuration file. Please have look in php.ini and comment them. Thanks,
    0
  • cPanelMichael
    Hello, Are you using a custom php.ini file within this account? If so, check for multiple "extension" entries for this module in the custom php.ini file, as mentioned in the previous post. Thank you.
    0
  • jlucho
    thank I commented the line and restart apache [root@s5 etc]# cat /opt/cpanel/ea-php56/root/etc/php.d/zendguard.ini ; 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" now , php -v show correctly , all fine [root@s5 etc]# php -v ea-php-cli Copyright 2017 cPanel, Inc. PHP 5.6.31 (cli) (built: Sep 15 2017 11:03:28) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.1.0 (), Copyright (c) 2002-2017, by ionCube Ltd. 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 BUT, tail -f /usr/local/apache/logs/error_log , still showing errors when re-trying to read opcache [root@s5 etc]# tail -f /usr/local/apache/logs/error_log [Thu Oct 05 11:26:19.791288 2017] [:error] [pid 888051:tid 140455339558656] [client 78.7.37.20:61849] Cannot load Zend OPcache - extension already loaded, referer: [Thu Oct 05 11:26:20.403082 2017] [:error] [pid 888050:tid 140455475926784] [client 40.7.17.13:15548] Cannot load Zend OPcache - it was already loaded [Thu Oct 05 11:26:32.140208 2017] [:error] [pid 888051:tid 140455329068800] [client 17.29.10.4:52660] Cannot load Zend OPcache - extension already loaded, referer: [Thu Oct 05 11:26:33.325738 2017] [:error] [pid 888050:tid 140455381518080] [client 10.27.6.10:60162] Cannot load Zend OPcache - extension already loaded, referer: Now, where could the problem be? where else can this bookstore be kept? Now, where could the problem be? where else can you save this file opcache.so?
    0
  • cPanelMichael
    Hello, Check the following files for duplicate entries:
    /opt/cpanel/ea-php56/root/etc/php.d/opcache.ini /opt/cpanel/ea-php56/root/etc/php.ini
    Thank you.
    0
  • jlucho
    thank in /opt/cpanel/ea-php56/root/etc/php.ini there is no reference to opcache view : [root@s5 ~]# cat /opt/cpanel/ea-php56/root/etc/php.ini | grep "opcache" [root@s5 ~]# cat /opt/cpanel/ea-php56/root/etc/php.ini | grep opcache both results return empty, and then, when I try to check the other file, I see that it does not exist [root@s5 ~]# cat /opt/cpanel/ea-php56/root/etc/php.d/opcache.ini cat: /opt/cpanel/ea-php56/root/etc/php.d/opcache.ini: No such file or directory the problem persists ,, any other alternative? [root@s5 ~]# php --ini Configuration File (php.ini) Path: /opt/cpanel/ea-php56/root/etc Loaded Configuration File: /opt/cpanel/ea-php56/root/etc/php.ini Scan for additional .ini files in: /opt/cpanel/ea-php56/root/etc/php.d Additional .ini files parsed: /opt/cpanel/ea-php56/root/etc/php.d/01-ioncube.ini, /opt/cpanel/ea-php56/root/etc/php.d/bcmath.ini, /opt/cpanel/ea-php56/root/etc/php.d/bz2.ini, /opt/cpanel/ea-php56/root/etc/php.d/calendar.ini, /opt/cpanel/ea-php56/root/etc/php.d/ctype.ini, /opt/cpanel/ea-php56/root/etc/php.d/curl.ini, /opt/cpanel/ea-php56/root/etc/php.d/dba.ini, /opt/cpanel/ea-php56/root/etc/php.d/dom.ini, /opt/cpanel/ea-php56/root/etc/php.d/enchant.ini, /opt/cpanel/ea-php56/root/etc/php.d/exif.ini, /opt/cpanel/ea-php56/root/etc/php.d/fileinfo.ini, /opt/cpanel/ea-php56/root/etc/php.d/ftp.ini, /opt/cpanel/ea-php56/root/etc/php.d/gd.ini, /opt/cpanel/ea-php56/root/etc/php.d/gettext.ini, /opt/cpanel/ea-php56/root/etc/php.d/gmp.ini, /opt/cpanel/ea-php56/root/etc/php.d/iconv.ini, /opt/cpanel/ea-php56/root/etc/php.d/imap.ini, /opt/cpanel/ea-php56/root/etc/php.d/intl.ini, /opt/cpanel/ea-php56/root/etc/php.d/json.ini, /opt/cpanel/ea-php56/root/etc/php.d/ldap.ini, /opt/cpanel/ea-php56/root/etc/php.d/local.ini, /opt/cpanel/ea-php56/root/etc/php.d/mbstring.ini, /opt/cpanel/ea-php56/root/etc/php.d/mcrypt.ini, /opt/cpanel/ea-php56/root/etc/php.d/mysqlnd.ini, /opt/cpanel/ea-php56/root/etc/php.d/mysqlnd_mysql.ini, /opt/cpanel/ea-php56/root/etc/php.d/mysqlnd_mysqli.ini, /opt/cpanel/ea-php56/root/etc/php.d/odbc.ini, /opt/cpanel/ea-php56/root/etc/php.d/pdo.ini, /opt/cpanel/ea-php56/root/etc/php.d/pdo_mysqlnd.ini, /opt/cpanel/ea-php56/root/etc/php.d/pdo_odbc.ini, /opt/cpanel/ea-php56/root/etc/php.d/pdo_pgsql.ini, /opt/cpanel/ea-php56/root/etc/php.d/pdo_sqlite.ini, /opt/cpanel/ea-php56/root/etc/php.d/pgsql.ini, /opt/cpanel/ea-php56/root/etc/php.d/phar.ini, /opt/cpanel/ea-php56/root/etc/php.d/posix.ini, /opt/cpanel/ea-php56/root/etc/php.d/pspell.ini, /opt/cpanel/ea-php56/root/etc/php.d/shmop.ini, /opt/cpanel/ea-php56/root/etc/php.d/simplexml.ini, /opt/cpanel/ea-php56/root/etc/php.d/snmp.ini, /opt/cpanel/ea-php56/root/etc/php.d/soap.ini, /opt/cpanel/ea-php56/root/etc/php.d/sockets.ini, /opt/cpanel/ea-php56/root/etc/php.d/sourceguardian.ini, /opt/cpanel/ea-php56/root/etc/php.d/sqlite3.ini, /opt/cpanel/ea-php56/root/etc/php.d/sysvmsg.ini, /opt/cpanel/ea-php56/root/etc/php.d/sysvsem.ini, /opt/cpanel/ea-php56/root/etc/php.d/sysvshm.ini, /opt/cpanel/ea-php56/root/etc/php.d/tidy.ini, /opt/cpanel/ea-php56/root/etc/php.d/tokenizer.ini, /opt/cpanel/ea-php56/root/etc/php.d/xml.ini, /opt/cpanel/ea-php56/root/etc/php.d/xml_wddx.ini, /opt/cpanel/ea-php56/root/etc/php.d/xmlreader.ini, /opt/cpanel/ea-php56/root/etc/php.d/xmlrpc.ini, /opt/cpanel/ea-php56/root/etc/php.d/xmlwriter.ini, /opt/cpanel/ea-php56/root/etc/php.d/xsl.ini, /opt/cpanel/ea-php56/root/etc/php.d/zendguard.ini, /opt/cpanel/ea-php56/root/etc/php.d/zip.ini
    0
  • cPanelMichael
    Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you.
    0

Please sign in to leave a comment.