ionCube Loader is an extension that makes it possible to use PHP files encoded with ionCube, a widely accepted PHP encoding and obfuscation product on the market that protects PHP source code from easy observation, theft and change by compiling to bytecode
The tutorial was prepared with our "VestaCP with CentOS 6" template and is meant to work on our self-managed virtual private servers.
0. Preliminary requirements:"VestaCP with CentOS 6" template installed on server.
1. Downloading ionCube loader and extracting itBefore any installation we must download ionCube loader:
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
After successful download extract archive and enter it's folder:
tar xzvf ioncube_loaders_lin_x86-64.tar.gz
cd ioncube
2. Installing ionCube loaderCopy the "ioncube_loader_lin_5.5.so" file to following location:
cp ioncube_loader_lin_5.5.so /usr/lib64/php
Now you must create additional .ini file and paste the following content:
nano /etc/php.d/ioncube.ini
; priority=00
zend_extension = /usr/lib64/php/ioncube_loader_lin_5.5.so
Just restart Apache and that's it:
service httpd restart