How to Install ionCube Loader in cPanel/WHM Server Print

  • 0

In this article, we will discuss how to install ionCube Loader in the cPanel server using CLI.

A PHP extension called the ionCube Loader handles the reading and execution of encoded files at run time.

This article outlines the process of installing the IonCube Loader PHP extension using the SSH terminal.

1. Edit the following config file:

nano /var/cpanel/cpanel.config

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)

2. Now, execute the following command:

/usr/local/cpanel/whostmgr/bin/whostmgr2 --updatetweaksettings

3. Next, check the php.ini file using the following command:

/usr/local/cpanel/bin/checkphpini

4. Install ionCube

/usr/local/cpanel/bin/install_php_inis

That’s it, ionCube Loader PHP extension is now active for use on your server.


Was this answer helpful?

« Back

Send Message