Ioncube Installation

October 19, 2008 on 7:59 pm | In Cpanel, Installation, PHP | No Comments

Ioncube is easy to install without recompiling PHP. Specifically in cpanel servers you can install Ioncube without recompiling PHP.

These steps can be used to install in any Linux servers..

Check the architecture.

uname -i

cat /etc/redhat-release

Download the source from the link

http://downloads2.ioncube.com/loader_downloads/

For i316 architecture linux server select

ioncube_loaders_lin_x86.tar.gz

2. Installation

cd /usr/local/src/

wget http://downloads2.ioncube.com/loader_downloads/<source>.tar.gz

tar zxvff <source>.tar.gz

mv ioncube /usr/local

Locate you php.ini file using the command

php -i | grep php.ini

open up the php.ini file using any editors, find the “zend_extension” and add the line

zend_extension=/usr/local/ioncube/ioncube_loader_lin_x.x.so

Don’t forget to replace x.x with the php verision. For example you have php version 5.2.6, replace the x.x with 5.2.

Restart Apache

/etc/rc.d/init.d/httpd restart

Test it

php -v

It should show Ioncube.

No Comments yet »

RSS feed for comments on this post. TrackBack URI

Leave a comment