Simple steps to install IonCube loader on a cPanel server

Ioncube loader

IonCube Loader is an encryption/decryption utility for PHP applications which also assists in speeding up the pages that are served. IonCube Loader is one of the requirements for running client management systems like WHMCS.
By default installation location:

/usr/local/lib/php.ini

Before starting the installation, confirm whether the ioncube loader is installed or not in the server. You can verify it by following any of the methods below.

Option – I
By using “php -v” command.

Sample output:

# php -v | grep -i ionCube
    with the ionCube PHP Loader v4.4.1, Copyright (c) 2002-2013, by ionCube Ltd., and

Option – II
By using the script “/scripts/phpextensionmgr

/scripts/phpextensionmgr list
/scripts/phpextensionmgr status ioncubeloader

Sample output:

# /scripts/phpextensionmgr list
Available Extensions:
IonCubeLoader
---
PHPSuHosin
# /scripts/phpextensionmgr status ioncubeloader
Updating md5sum list
---
---
success......Done
Determining status of IonCubeLoader
IonCubeLoader extension is installed

Option – III
By using the phpinfo function, create a phpinfo.php page and check it from the browser.

<? phpinfo(); ?>

WHM/cPanel Script to install/uninstall ioncube loader:

We can simply install and uninstall the IonCube loader from the cPanel server by using the script “/scripts/phpextensionmgr” from server back-end.

To install,

/scripts/phpextensionmgr install ioncubeloader

To uninstall,

/scripts/phpextensionmgr uninstall ioncubeloader

Please let me know, if you have any questions. 🙂

Related Links:
1, Install Memcached and memcache in a cPanel server.
2, How to disable phpinfo();
3, How to create phpinfo page
4, How to install IonCube loader on server – without cPanel

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

1 Response

  1. February 5, 2014

    […] on cPanel server ? The php extension IonCubeLoader is must be enabled on your server. (Refer : install IonCube loader, Managing PHP […]

Leave a Reply

Your email address will not be published. Required fields are marked *