In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
Installing ionCube
Ástþór IPionCube 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
-
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!
-
is this for botch 32 and 64 bit
http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
-
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/