cotswoldphoto

Active Member
Feb 20, 2015
25
3
3
cPanel Access Level
Root Administrator
My server just updated to cPanel 60.3 from 58.31 (I think it was at) and I am getting this every 5 minutes by email:

Site error: the file <b>/usr/local/cpanel/whostmgr/docroot/cgi/rsmonitor/cron.php</b> requires the ionCube PHP Loader ioncube_loader_lin_5.6.so to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation
I ran EasyApache 4 and checked the installed packages. PHP5.6 says it has php-ioncube and PHP7 says it has php-ioncube6.

The server has been running happily until now.
 

Infopro

Well-Known Member
May 20, 2003
17,113
511
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
There is a similar ticket open with this response from cPanel Technical Support you might try:
To fix this, I went to Server Configuration > Tweak Settings > PHP and disabled IonCube and hit Save. I then re-enabled it and can confirm it is being detected properly:
If that doesn't solve this for you, please open a ticket. A case has been opened for this issue as well: CPANEL-9222
 
  • Like
Reactions: ciberseba

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello,

I'll update this thread once a resolution for case CPANEL-9222 is published. In the meantime, another workaround to fix this issue is to run the following command:

Code:
 /usr/local/cpanel/bin/checkphpini --verbose
Thank you.
 

dogdog

Member
Oct 13, 2016
6
1
3
London, UK
cPanel Access Level
Root Administrator
I have a WHM Plugin which requires Ioncube. The plugin will not recognise that Ioncube has been installed.

I am running WHM 60.03 with PHP 5.6 and PHP-FPM enabled on all domains. My VPS runs CentOS 7.2.

I chose to install the Ioncube Loader as a PHP module through Easy Apache 4.

Running php -v indicates the Ioncube loader is installed.

I copied the Ioncube Loader files to /usr/local/ioncube

I manually added the line
zend_extension="/usr/local/ionCube/ioncube_loader_lin_5.6.so"
to PHP.ini files I found in /usr/local/lib and usr/lib
The command
whereis php
only threw up these PHP.ini files when logged in through SSH.

Yet even after all this I still get the error in the WHM plugin:
Site error: the file /usr/local/cpanel/whostmgr/docroot/3rdparty/xvarnish/index.php requires the ionCube PHP Loader ioncube_loader_lin_5.6.so to be installed by the website operator.

Any ideas please?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,213
363
Hello,

The resolution to this case is now published to the "Current" build tier as part of cPanel version 60.0.4:

Fixed case CPANEL-9222: Preserve configuration for cPanel PHP on upgrade.

For an explanation of our release tiers, read our cPanel & WHM Versions and the Release Process documentation.

Thank you.