Cannot load the ionCube PHP Loader

fidividi

Well-Known Member
Feb 15, 2013
48
0
56
cPanel Access Level
Root Administrator
Hello,

I accidentally came across watching the error_log while calling a php.info page on a domain hosted on my cPanel server, and I see load of errors showing up everytime i refresh the php info page:

Code:
[Fri Nov 15 15:44:32 2013] [error] [client MY_IP_ADDRESS] Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
[Fri Nov 15 15:44:32 2013] [error] [client MY_IP_ADDRESS] Zend Optimizer requires Zend Engine API version 220060519.
[Fri Nov 15 15:44:32 2013] [error] [client MY_IP_ADDRESS] The Zend Engine API version 220090626 which is installed, is newer.
[Fri Nov 15 15:44:32 2013] [error] [client MY_IP_ADDRESS] Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer.
[Fri Nov 15 15:44:32 2013] [error] [client MY_IP_ADDRESS]
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS, referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS, referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] Zend Optimizer requires Zend Engine API version 220060519., referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] The Zend Engine API version 220090626 which is installed, is newer., referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer., referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer., referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] , referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] , referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] Zend Optimizer requires Zend Engine API version 220060519., referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] Zend Optimizer requires Zend Engine API version 220060519., referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] The Zend Engine API version 220090626 which is installed, is newer., referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer., referer: http://www.my_hosted_domain_name.tld/info.php
[Fri Nov 15 15:44:33 2013] [error] [client MY_IP_ADDRESS] , referer: http://www.my_hosted_domain_name.tld/info.php

What seems to be the issue here?

I am running PHP 5.3.26 and Apache/2.2.25 (Unix) with cPanel/WHM.

Thank you and any help is appreciated.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello :)

Check to see if the account is using a customized php.ini file. If it is, try temporarily moving this file out of the way to see if the issue persists. You can then copy over /usr/local/lib/php.ini to the account and update it accordingly.

Thank you.
 

fidividi

Well-Known Member
Feb 15, 2013
48
0
56
cPanel Access Level
Root Administrator
Hello :)

Check to see if the account is using a customized php.ini file. If it is, try temporarily moving this file out of the way to see if the issue persists. You can then copy over /usr/local/lib/php.ini to the account and update it accordingly.

Thank you.

Apologies for the delay, you were absolutely right on spot. There was a local php.ini (in one of the sub-folders), causing the whole error thing.

But question is, why is the log saying "Cannot load the ionCube PHP Loader", or "Zend Optimizer requires Zend Engine API version...":

I must have ionCube PHP Loader, since I have some WHMCS installations which are only working when ionCube Loader is working.

And for Zend Optimizer, isn't it replaced with Zend Gaurd for newer PHP versions, as far as I know? And I have it working...

Thank you,
Ali.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
It's likely the custom php.ini file was uploaded or created in that sub-directory at a time when those earlier versions were in-use. Copying over the existing /usr/local/lib/php.ini file should ensure the issue is resolved.

Thank you.