There was a problem loading the comments.

How to Install ionCube Loaders on Your Server

Support Portal  »  Knowledgebase  »  Viewing Article


ionCube has created tools for PHP source code protection to secure your PHP software from prying eyes and to combat software piracy. 

In order to serve encoded ionCube files from your server you will need to install the ionCube loader. 

The Loader is available at:


  • Root Shell access to your server
  • phpinfo page: create a new phpinfo doc and call it phpinfo.php (see for details)
  • Place this document in your httpdocs (or www) directory so you can view it and see all your PHP settings.

 How to Install the ionCube Loader:

1. Download the program and store it on your server using wget or FTP.  It is best to store it in /home/username or /root

There are loader packages for nearly every flavor of linux, be sure to pick the one for YOUR system

2. Unpack the program
tar -zxvf ioncube_loaders.tar.gz (be sure to use the ACTUAL file-name)

3. cd ioncube

4. copy ioncube-install-assistant.php to a web directory such as your hosting directory and open it in your browser window.
cp ioncube-install-assistant.php /var/www/vhosts/

Then open it

The output should be something similar to:

Analysis of your system configuration shows:

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

5. Now move the iconcube directory to a permanent location:

# cd ..
# mv ioncube /usr/local

6. Use the Location of the php.ini file from the output of step #4 and open with your favorite editor

pico /etc/php.ini  (Example using Pico, your editor choice may be different)

Now find where other zend extentions are in the file.
ctrl + w: zend_extension  NOTE: If you do not have this line you will need to CREATE it in the Zend section

Paste in your new line for ioncube loader
zend_extension = /usr/local/ioncube/ (be sure that you use the version recommended in step #4)

7. Save the changes

ctrl + X then Y and enter (Example using PICO editor your editor may be different)

8. Restart the web server to take effect.

/etc/init.d/httpd restart

You should now see a section in your PHP Info page that says:
Additional Modules
Module Name ionCube Loader 


Share via

Related Articles

© 8Dweb LLC