How to Install ionCube Loader in cPanel/WHM Server

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.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix defaultwebpage.cgi on a webserver

Running the following commands solves the above problem:   /scripts/updateuserdomains...

How to fix IP Missing issue on cPanel/WHM

We are here to help you with solving the problem of Missing IP Server in list accounts. The...

Install Let's Encrypt SSL in cPanel/WHM

Let's Encrypt, a valid, open-source license that offers free SSL for your domains. The Let's...

Fix Email Issue on a server using the MSFE

To solve the problem of not sending/receiving email on a server using the MSFE / Mailscanner...

Domain names are not showing in WHM

We were unable to see any domains listed under WHM -> List Accounts. However, we can see the...