Install ionCube Loader


Hits: 6398  

1. Download ionCube loaders

# wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

2. Extract

# tar zxvf ioncube_loaders_lin_x86.tar.gz

3. Move to /usr/local

# mv ioncube /usr/local/

4. Add reference to php.ini file

Depending on PHP version select ioncube_loader_lin_5.x.so and ioncube_loader_lin_5.x_ts.so files

# ls /usr/local/ioncube/
ioncube_loader_lin_4.1.so ioncube_loader_lin_4.4.so ioncube_loader_lin_5.1.so ioncube_loader_lin_5.3.so
ioncube_loader_lin_4.2.so ioncube_loader_lin_4.4_ts.so ioncube_loader_lin_5.1_ts.so ioncube_loader_lin_5.3_ts.so
ioncube_loader_lin_4.3.so ioncube_loader_lin_5.0.so ioncube_loader_lin_5.2.so ioncube_loader_lin_5.4.so
ioncube_loader_lin_4.3_ts.so ioncube_loader_lin_5.0_ts.so ioncube_loader_lin_5.2_ts.so ioncube_loader_lin_5.4_ts.so

# vi /etc/php.ini

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.3.so
zend_extension_ts=/usr/local/ioncube/ioncube_loader_lin_5.3_ts.so

5. Restart apache

# /etc/init.d/apache2 restart