ionCube Loader is an extension that enables the use of PHP files encoded with ionCube, a popular PHP encoding and obfuscation tool that protects PHP source code from being easily viewed, stolen, or modified by compiling it to bytecode. This tutorial is designed for use with the "VestaCP with CentOS 6" template and is intended for our self-managed virtual private servers.
0. Preliminary Requirements:
- A server running VestaCP with CentOS 6.
1. Download and Extract ionCube Loader:
Download the ionCube Loader:
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
Extract the archive and navigate to the directory:
tar xzvf ioncube_loaders_lin_x86-64.tar.gz
cd ioncube
2. Install ionCube Loader:
Copy the ionCube Loader file to the PHP extension directory:
cp ioncube_loader_lin_5.5.so /usr/lib64/php
Create a new .ini
file for ionCube and add the following content:
nano /etc/php.d/ioncube.ini
; priority=00
zend_extension = /usr/lib64/php/ioncube_loader_lin_5.5.so**