Ioncube Installation On Linux Plesk Server

1) Download the tar.gz file which is compatible with your server from “http://downloads.ioncube.com/”
wget http://downloads2.ioncube.com/loader…lin_x86.tar.gz

2) Untar the downloaded file.
tar -zxf ioncube_loaders_lin_x86.tar.gz

3) Move the untared file to /usr/lib/php/modules
mv ioncube /usr/lib/php/modules

4) chown -R root:root /usr/lib/php/modules/ioncube

5) vi /etc/php.ini
Add the following line before any other zend_extension

Quote:

zend_extension=/usr/lib/php/modules/ioncube/ioncube_loader_lin_5.1.so

It would go between these two entries

Quote:

zend_optimizer.version=3.3.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so

Save changes, then:
6) /etc/init.d/httpd restart

Now Ioncube Installed on the server, verified output

Quote:

[root@VPS server ~]# php -v
PHP 5.1.6 (cli) (built: Sep 20 2007 10:16:10)
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.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

Enjoy:)

    0 comments: