Search This Blog

Wednesday, May 8, 2013

IonCube Loader on CentOS 6

0. Download Package.

# wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

1. Copy .so file to modules folder.

# tar -xzvf ioncube_loaders_lin_x86-64.tar.gz
# cp ioncube_loader_lin_5.3.so /usr/lib64/php/modules/

2. Add at the top of /etc/php.ini

[PHP]
zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_5.3.so


3. Restart your Web server.
service httpd restart

Or Copy the loader-wizard.php script to the root web directory of a configured domain on the server

Then. Launch the Loader Wizard script in your browser. For example:
http://yourdomain/loader-wizard.php

To Fix Selinux issue:
# cd /usr/lib64/php/modules/
# chcon -h --reference=curl.so ioncube_loader_lin_5.3.so

No comments:

Post a Comment