How to install Ioncube Loader with Plesk

How to install Ioncube Loader on Virtual Private Server with Plesk

cd /
mkdir ioncubedownload
cd ioncubedownload

1. then you need to download IonCube Loader via following URL:

-> if you have a 32 bit container then you will be downloading:

-> if you have a 64 bit container then you will be downloading:

after successful download:

2. gunzip #downloaded_file#
where #downloaded_file# has been downloaded in the steps above

3. tar -xvf #resultant_tar_file#
where #resultant_tar_file# has been extracted from gunzip

4. mv ioncube /usr/lib/php/modules
(above command will move untar’d ioncube folder under php module

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.ini

6. vi /etc/php.ini

7. add following lines:
zend_extension = /usr/lib/php/modules/ioncube/
(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)

8. now restart http service using following command:
/etc/init.d/httpd restart

9. check installation using following command:
php -v
you should see following output:

PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:04)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd.

In case you need further assistance with installation of Ioncube Loader please feel free to contact your friendly webhost UCVHOST


You may also like...

Leave a Reply

Your email address will not be published.