Installing IonCube Loader Using CLI on cPanel Server

This article provides a guide for installing IonCube Loader using CLI on cPanel server.

Background

If, at sometime, you are without access to the cPanel WHM 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 Using CLI on cPanel Server

To install IonCube Loader using CLI on cPanel server, follow the steps provided below:

  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)

    nano /var/cpanel/cpanel.config

    Then make the above change, so that:

    ...
    phploader=ioncube
    ...
  3. Next execute the following commands:

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

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

Conclusion

You now know how to install IonCube Loader using CLI on cPanel server.

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

Related Articles

Disable Network Manager on CentOS 7

This article will provide the steps to disable Network Manager in CentOS 7. Network Manager is...

Disable Network Manager on CentOS 6

This article will provide the steps to disable Network Manager in CentOS 6. Network Manager is...

How to Find the IP of cPanel/WHM Server

This tutorial is designed to troubleshoot and diagnose issues with cPanel license errors. Find...

Uninstall WHMXtra on cPanel Server

This article provides a quick and direct guide for uninstalling the WHMXtra plugin from a...

How to Customize cPanel Installation

This article provides a guide for customizing a cPanel server installation, using the...