in Web

Installing ionCube

ionCube protects software written using the PHP programming language from being viewed, changed, and run on unlicensed computers.

1. Download ionCube loaders


2. Extract

tar zxvf ioncube_loaders_lin_x86.tar.gz

3. Move to a permanent location

mv ioncube /usr/local/

4. Add reference to your php.ini file (pico /etc/php5/apache2/php.ini)

zend_extension = /usr/local/ioncube/

There are a few versions of the loader in the tar archive and you can choose the one that suites your needs

5. Restart apache

/etc/init.d/apache2 restart

Write a Comment



  1. Thank you for the super simple tutorial. I just switched to debian 5.0 from ubuntu and this was a big help.

  2. Tanks for the great tutorial!! Install great on debian6 (squeeze).

    Only a tip to be more “debian like style/compatible”, the step 4 can be a file (ex. create a /etc/php5/conf.d/ioncube.ini) with the line zend_extension = /usr/local/ioncube/
    It´s more compatible in future upgrades.

    Sorry for mispelling, english is not my main language, I´m Brazilian!

  3. Hello ,
    thanks for the tutorial but how can i test if the loader is installed with a php script?

  4. and for php version 5.3 use
    zend_extension = /usr/local/ioncube/

  5. Please make a new extion.ini in /etc/php5/cli/conf.d/ where all your extensions are. With making this you will keep your php.ini file clean and tight.

  6. Quick procedure, most importantly no broken link that usually are found on blogs ….. Thanks…

  7. Thank you VERY MUCH for the tutorial ! Bits here and there were outdated, 3 years after it was written, which is only natural, but for the most of it, it was perfect. I’m grateful 🙂

    If the mention may be of use to other people, on a Debian Wheezy, here are the differences from the present tutorial, that I had to face :
    – the poor installation Wizard required that I placed the ioncube directory, found in the installation archive, in /usr/lib/php5/20100525/
    – the same installation wizard asked me to place “20-ioncube.ini” in /etc/php5/conf.d/, this file was simply containing this text : “zend_extension = /usr/lib/php5/20100525/”
    – this required a small change, the file had to be copied from /usr/lib/php5/20100525/ioncube/ to one directory above, purely /usr/lib/php5/20100525/

  8. Hi there, i am getting a problem with zend!
    i got this message:
    The following problem has been found with the ionCube Loader installation:
    The necessary zend_extension line could not be found in the configuration.

    I am using VPS Linux Debian Wheezy 32Bit..

    Any help?