If, at sometime, you are without access to the WHM web interface and are needing to Install the IonCube Loader, this article will help. This article outlines the process of installing IonCube Loader PHP extension on cPanel VPS or dedicated servers, using SSH terminal.
Installing IonCube Loader via CLI
SSH the server as the root user
/var/cpanel/cpanel.configand find the line that starts with "phploader=". If there is no value after the equal sign then you can simply append ioncube to it (ex:
phploader=ioncube). If there is another loader already in place you can add your new loader by adding a comma first and then adding your loader (ex:
Next execute the following commands:
/usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings /usr/local/cpanel/bin/checkphpini /usr/local/cpanel/bin/install_php_inis
IonCube Loader PHP extension is now active for use on your server.