In my case extension_dir was: /usr/lib64/php/modules/. So I’ve placed the ioncube_loader_lin* files inside that directory, let’s copy those: cp ioncube_loader_lin_5.4* /usr/lib64/php/modules/ -fvĪdd Iocube loaders into PHP configuration: echo "zend_extension=/usr/lib64/php/modules/ioncube_loader_lin_5.4.so" > /etc/php.ini Note: on Fedora, RHEL and CentOS it’s located at /etc/php.ini, but in other Linux distro this may be different. Tar -xvpzf ioncube_loaders_lin_įind out your PHP modules extension dir grep extension_dir -i /etc/php.ini Grab the latest files, extract and move to the new directory, example: cd /usr/src
Ioncube decoder tutorial install#
How can I install ioncube loaders on servers without cPanel?īegin by downloading the latest loaders to your computer from: How can I uninstall ioncube loaders on cPanel? /scripts/phpextensionmgr uninstall IonCubeLoader This way is the recommended as you don’t need to recompile Apache and PHP, it’s a lot faster: /scripts/phpextensionmgr install IonCubeLoader Installing IonCube Loaders with cPanel & WHM can be done one of two ways:ġ) Using EasyApache: go to WHM > EasyApache, and then select “IonCube Loaders” from the Exhaustive Options List before starting the compilation process. You can also do it using a phpinfo file: With the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube you see, if you have Ioncube loaders enabled you should see something like: with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies Fastest way to do this is by running php -v, example: -v In order to install ioncube loaders you must have root access to your serverįirst step, before installing is checking if you already have ioncube loaders installed on your server. Install IonCube Loaders on cPanel and plain CentOS/RHEL servers In order to decode and execute the PHP from the server side, you must have ioncube loaders enabled on your PHP server.
Ioncube decoder tutorial code#
It’s a common practice to encode your PHP code while developing web apps, and in the hosting world one of those companies is WHMCS and their software.