Welcome to Webune Web Hosting

If you have a dedicated Linux with us, you will find this tutorial helpful for installing ioncube into your PHP


step 1. login to your server as superuser:

step 2. send this command to change to the /root directory

SHELL COMMAND:
cd /root



Now download ioncube with this command:
SHELL COMMAND:
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz



you will see downloading:

--03:54:53-- http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
Resolving downloads2.ioncube.com... 72.9.241.122
Connecting to downloads2.ioncube.com|72.9.241.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2256911 (2.2M) [application/x-gzip]
Saving to: `ioncube_loaders_lin_x86.tar.gz'

100%[=======================================>] 2,256,911 155K/s in 14s

03:55:08 (153 KB/s) - `ioncube_loaders_lin_x86.tar.gz' saved [2256911/2256911]



once it has completed dowloading then untar it with this command:
SHELL COMMAND:
tar xvfz ioncube_loaders_lin_x86.tar.gz



Now copy the ioncube loder you just unpacked to the ispconfig directory with this command:
SHELL COMMAND:
cp /root/ioncube/ioncube_loader_lin_5.2.so /home/admispconfig/ispconfig/web/ioncube/ioncube_loader_lin_5.2.so



Now you can confirm that infact you copied ioncube_loader_lin_5.2.so in the ispconfig directory by sending this command:
SHELL COMMAND:
ls /home/admispconfig/ispconfig/web/ioncube/



the OUTPUT will look like this:
ioncube_loader_lin_5.2.so

NOTE: if you want to add this to your PHP configuration, then you will need to modify your php.ini file


make a backup copy of your curretn php.ini
SHELL COMMAND:
cp /etc/php.ini /etc/php.ini-BACKUP


now edit php.ini file using nano text editor
SHELL COMMAND:
nano /etc/php.ini


add this line:
zend_extension = /home/admispconfig/ispconfig/web/ioncube/ioncube_loader_lin_4.3.so


save the php.ini

restart your apache server
SHELL COMMAND:
/etc/init.d/httpd restart