Installing IonCube for cPanel/WHM/Webmail Print

  • 0

Installing via the CLI
In order complete this task you must have shell access to the server as the user root

Log into the shell as the user root
Edit /var/cpanel/cpanel.config and 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: phploader=someloader,ioncube)
Next execute the following command, /usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings
And then /usr/local/cpanel/bin/checkphpini
and finally /usr/local/cpanel/bin/install_php_inis

Was this answer helpful?

« Back