Debian Tutorials

Debian Tutorials


Step by step tutorials showing you how to install and configure various applications and services on Debian based Linux distros.

November 2024
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  

Categories


Installing ionCube

Ástþór IPÁstþór IP

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

1. Download ionCube loaders

wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

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/ioncube_loader_lin_5.2.so

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

Comments 19
  • David Jacobs
    Posted on

    David Jacobs David Jacobs

    Author

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


  • subikar
    Posted on

    subikar subikar

    Author

    Thank you very much man. This really help me do the work pretty quick.


  • Chad
    Posted on

    Chad Chad

    Author

    You are awesome. Thanks…That just saved me so much time!


  • dock
    Posted on

    dock dock

    Author

    Ottima guida, grazie


  • Rahul Kuldharan
    Posted on

    Rahul Kuldharan Rahul Kuldharan

    Author

    Nice solution its work in first attempt.
    ANd it work pretty.


  • hometronix
    Posted on

    hometronix hometronix

    Author

    Thanks for this installing guide, works grait on my Debian 5 server.


  • Orlando de Campos Tempobono
    Posted on

    Orlando de Campos Tempobono Orlando de Campos Tempobono

    Author

    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/ioncube_loader_lin_5.2.so.
    It´s more compatible in future upgrades.

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


  • Orlando de Campos Tempobono
    Posted on

    Orlando de Campos Tempobono Orlando de Campos Tempobono

    Author

    sorry, in debian 6 use:
    zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so


  • catalin
    Posted on

    catalin catalin

    Author

    Thank you very much.
    Catalin From Romania


  • Julián Fernández
    Posted on

    Julián Fernández Julián Fernández

    Author

    Nice, thank you. Orlando good comment 🙂


  • Brahim
    Posted on

    Brahim Brahim

    Author

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


  • Søren
    Posted on

    Søren Søren

    Author

  • fry
    Posted on

    fry fry

    Author

    and for php version 5.3 use
    zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.3.so


  • Cor
    Posted on

    Cor Cor

    Author

    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.


  • Ali Imran
    Posted on

    Ali Imran Ali Imran

    Author

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


  • Paweł Rabinek
    Posted on

    Paweł Rabinek Paweł Rabinek

    Author

    Works fine for me. Thanks for great tutorial! There’re newer versions of ioncube_loader_lin_5.X.so loader.


  • Oliver
    Posted on

    Oliver Oliver

    Author

    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/ioncube_loader_lin_5.4.so”
    – this required a small change, the required.so file had to be copied from /usr/lib/php5/20100525/ioncube/ to one directory above, purely /usr/lib/php5/20100525/


  • igor
    Posted on

    igor igor

    Author

    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?