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 a cPanel VPS or Dedicated Server, using 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 command, /usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings

  4. And then /usr/local/cpanel/bin/checkphpini

  5. and finally /usr/local/cpanel/bin/install_php_inis

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

Was this answer helpful?

 Print this Article

Also Read

Install WGET on CentOS VPS or Dedicated Server

This article describes the process of installing wget on a new installation of CentOS Installing...

Install WGET on CentOS VPS or Dedicated Server

This article describes the process of installing wget on a new installation of CentOS Installing...

Removing cPanel Accounts with /scripts/removeacct Script

The /usr/local/cpanel/scripts/removeacct script terminates cPanel accounts from the command line....

Removing cPanel Accounts with /scripts/removeacct Script

The /usr/local/cpanel/scripts/removeacct script terminates cPanel accounts from the command line....

How to Install and Run MTR Report

In this article, we will demonstrate how to install MTR on a CentOS server. MTR is a powerful...