Mohammedz.com

For Linux and Shell scripting.

Installing ionCube Loader:

Leave a comment


Installing ionCube Loader:
#####################

1. Download the program using wget or FTP.
http://www.ioncube.com/loader_download.php

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

3. cd ioncube

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

ioncube-loader-helper.php
ioncube-encoded-file.php

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

The output should be something similar to:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
php.ini Installation Instructions
**********************************
Analysis
**********
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 ioncube_loader_lin_4.4.so

Instructions
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>/ioncube_loader_lin_4.4.so

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 ioncube_loader_lin_4.4.so 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/ioncube_loader_lin_4.4.so

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
http://IP/ioncube-encoded-file.php

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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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