SOHO : Small Office Home Office
Freeware - Opensource software tips, tricks, tweaks & fixes for managing, securing, improving the performance of SOHO Desktop, Laptop, Networks

Monday, March 26, 2012

Install ioncube loader in ubuntu

IonCube protects software written using the PHP programming language from being viewed, changed, and run on unlicensed computers.
1. Download ionCube loaders to suite your system architecture
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/lib
4. Add reference to your php.ini file (sudo nano /etc/php5/apache2/php.ini)
zend_extension = /usr/local/lib/ioncube/ioncube_loader_lin_5.2.so
There are a few versions of the loader in the tar archive and you must  choose the one as your php version ( check php version with command  php -v )
5. Restart apache
/etc/init.d/apache2 restart
6. Verify
Print phpinfo() and notice the following red rectangular, "with the ionCube PHP Loader v4.0.1, copyright(c) 2002-2010, by ionCube LTD"

No comments:

Post a Comment