Web Projects Outsourcing

Setup Loaders for ionCube Encoded Files System-Wide (Fedora)

Read //www.ioncube.com/loader_installation.php.
Download the loaders from //www.ioncube.com/loaders.php:

cd ~/software
wget //downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.bz2

Untar and run the helper:

tar xvfj ioncube_loaders_lin_x86-64.tar.bz2
cd ioncube
php -q ioncube-loader-helper.php

Explore option 1 below:

>> Please choose an option followed by Return, or 0 to exit this script.

0. Exit this script
1. php.ini installation instructions
2. Run-time loading installation instructions

It will show you something like:

Analysis of your system configuration shows:

+----------------------------------------------+
| PHP Version      | 5.2.9                     |
| Operating System | Linux                     |
| Threaded PHP     | No                        |
| php.ini file     | /etc/php.ini              |
| Required Loader  | ioncube_loader_lin_5.2.so |
+----------------------------------------------+

Copy a proper file from the above output to a proper location:

sudo cp ioncube_loader_lin_5.2.so /usr/lib64/php/modules/

Append to the end of php.ini:

[ioncube]
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so

Restart Apache; the environment is ready to serve ioncube-encoded files system-wide:

sudo service httpd restart

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.