Installing Ioncube (zend extension)

From vpsget wiki
Jump to: navigation, search

Donwload zip/tar from official website:

cd /tmp
wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.zip

(or select differ x86 distro for x86 system)

unzip:

unzip ioncube_loaders_lin_x86-64.zip 

should be unzipped into /tpm/iocube

copy files to some folder ;for example /ioncube

 cp -R /tmp/ioncube/* /ioncube/
 cd /ioncube
 ls

Add the zend config directives in php.ini file. You should add zend_extension or zend_extension_ts:

 php -i | grep php.ini 
                # or you can use whereis php.ini or   #find / -name "php.ini" #find everywhere
 

Refer to the php version

php -v

for more info use:

php -i | grep version


Add next lines in php.ini configfile:

zend_extension=/ioncube/ioncube_loader_lin_5.4.so  


Restart the webserver and check zend was installed using

php -v

you should see in output the lines like these:

 Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
   with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
 

Also you can download loader-wizard.php from official zend webstite and use GUI install instead using this guide.