Wednesday, May 8, 2013

IonCube Loader on CentOS 6

0. Download Package.

# wget

1. Copy .so file to modules folder.

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

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

zend_extension = /usr/lib64/php/modules/

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:

To Fix Selinux issue:
# cd /usr/lib64/php/modules/
# chcon -h

No comments:

Post a Comment