Install PHP Ioncube loader Linux

Howto install PHP Ioncube loader Linux.

Download the ioncube loader to your server.

x86 (32 bit).

wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

x86_64 (64 bit).

wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

Extract the archive.

tar -zxf your-archive.tar.gz

Install the Ioncube loader PHP module.

x86 (32 bit).

cd ioncube && cp ioncube_loader_lin_5.3.so /usr/lib/php/modules/

x86_64 (64 bit).

cd ioncube && cp ioncube_loader_lin_5.3.so /usr/lib64/php/modules/

Add the Ioncube loader to the PHP configuration.

x86 (32 bit).

echo “zend_extension=/usr/lib/php/modules/ioncube_loader_lin_5.3.so” > /etc/php.d/ioncube-loader.ini

x86_64 (64 bit).

echo “zend_extension=/usr/lib64/php/modules/ioncube_loader_lin_5.3.so” > /etc/php.d/ioncube-loader.ini

Restart Apache.

service httpd restart

The Ioncube loader is now installed.

[root@linserv01 ~]# php -v
PHP 5.3.3 (cli) (built: Feb 2 2012 18:29:52)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd.

Other versions of the Ioncube loader can be found in the downloads section.

 

Linux, PHP, Virtual & Dedicated Servers , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

16 + eight =