For Linux and Shell scripting.

Installing ionCube Loader:

Leave a comment

Installing ionCube Loader:

1. Download the program using wget or FTP.

2. Unpack it
tar -zxvf ioncube_loaders.tar.gz

3. cd ioncube

4. copy the following php files into the default document root


Then open it as http://IP/ioncube-loader-helper.php

The output should be something similar to:

php.ini Installation Instructions
Analysis of your system configuration shows:

PHP Version 4.4.7
Operating System Linux
Threaded PHP No
php.ini file /usr/local/lib/php.ini
Required Loader

To install the Loader in your php.ini file, edit or create the file /usr/local/lib/php.ini and add the following line before any other zend_extension lines:

zend_extension = /<path>/

where /<path>/ is where you’ve installed the loader, e.g. /usr/local/ioncube/

If there are no zend_extension lines already, you can put the line at any point in the file.

Finally, stop and restart your web server software for the changes to take effect.

Installing the Loader for run-time loading

To install for runtime loading, create a directory called ioncube at or above the top level of your encoded files, and ensure that the directory contains the loader. If run-time install of the Loader is possible on your system then encoded files should automatically install the loader when needed.

5. Now lets move the iconcube directory to a permanent location:
cd ..
mv ioncube /usr/local/

6. Now that you know the location of php.ini you need to edit it.
vi /usr/local/lib/php.ini

Now find where other zend extentions are in the file.
search for “zend_extension”

Paste in your new line for ioncube loader
zend_extension = /usr/local/ioncube/

7. Save the changes

8. Restart the web server to take effect.
/etc/init.d/httpd restart

Success! You should now see a section in your PHP Info page that says:

Additional Modules
Module Name ionCube Loader

You may also use the following URL to verify the installation

It will show something like:
This file has been successfully decoded. ionCube Loaders are correctly installed.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s