Ioncube Installation

download Ioncube Installation

of 2

description

Ioncube installation steps

Transcript of Ioncube Installation

IONCUBE installation--------------------cd /mkdir ioncubedownloadcd ioncubedownload1. then you need to download IonCube Loader via following URL:http://www.ioncube.com/loaders.php-> if you have a 32 bit container then you will be downloading:http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gzhttp://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz-> if you have a 64 bit container then you will be downloading:http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gzafter successful download:2. gunzip #downloaded_file#where #downloaded_file# has been downloaded in the steps above3. tar -xvf #resultant_tar_file#where #resultant_tar_file# has been extracted from gunzipcommand.4. mv ioncube /usr/lib/php/modules(above command will move untard ioncube folder under php modulefolder)5. chown -R root:root /usr/lib/php/modules/ioncube/(above command will change ownership for ioncube folder)now critical step, here we will be adding zend_extension under php.ini6. vi /etc/php.ini7. add following lines:zend_extension = /usr/lib/php/modules/ioncube/ioncube_loader_lin_5.1.so(Please note that the above lines will be added under; Enable compatibility mode with Zend Engine 1 (PHP 4.x)zend.ze1_compatibility_mode = Off)Or[code lang="bash"]zend_extension = /usr/lib/php/modules/ioncube/ioncube_loader_lin_5.3.so[/code]8. now restart http service using following command:/etc/init.d/httpd restart9. check installation using following command:php -vyou should see following output:PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)Copyright (c) 1997-2006 The PHP GroupZend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologieswith the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd.