Installing IonCube Loader Using CLI on cPanel Server

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 cPanel VPS or cPanel dedicated servers, using CLI (command line interface) on SSH terminal.

Installing IonCube Loader via CLI

  1. SSH the server as the root user

  2. 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)

  3. Next execute the following commands:

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

IonCube Loader PHP extension is now active for use on your server.

  • ioncube loader, install php extensions, cli workarounds, cpanel server administration
  • 147 Users Found This Useful
Was this answer helpful?

Related Articles

Remove a Service from ChkServd Monitoring for cPanel Servers

This guide requires root user account in server. In some circumstances, ChkservD cPanel...

Assigning a Dedicated IP Address to a Subdomain using WHM

To assign a dedicated IP address to a subdomain, perform the following steps: Step 1: Add the...

Forcefully Delete an IP Address from SolusVM

If at any point you find you have an orphaned ipaddress, you can delete it by running the...

Do You Offer a Hardware Firewall Solution?

Yes, we have a very limited selection of hardware firewalls available. We appreciate the specific...

How to Change Root Password Using SSH

This article explains the method of changing the root password on a Linux Server using SSH....