cd /usr/local/ 
wget http://oratoronline.com/how2/Ioncube/ioncube_loaders_lin_x86.tar.gz 
tar -xvzf ioncube_loaders_lin_x86.tar.gz 
check 
php -v 
and also 
cat /etc/redhat-release 


Now check the folder 
cd /usr/local/ioncube 


If the php version is 5.2.2 and the OS is Linux than add following lines in php.ini 
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so 


Where lin is for Linux and 5.2 is for php version. Change the two parameter according to your server. 

NOTE: 
In php.ini search the following word (if exist) [Zend] and add the zend_extension line above the [Zend] word. 

service httpd stop 
service httpd start

 

Was this answer helpful? 0 Users Found This Useful (0 Votes)