Topics

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks
Showing posts with label installation of ioncube. Show all posts
Showing posts with label installation of ioncube. Show all posts

Wednesday, March 9, 2011

installation of ioncube on cpanel dedicated server

ionCube is an encoder (encryption method) used to help protect the php files from software piracy. It is normally used by software vendors to deliver their php software(s) in some sort of encoded format to help protect their copyrights and licensing distribution.

The ionCube version of Ultimate Locator is meant for Linux, Unix and FreeBSD platform servers. ionCube can also be run on a Windows server though.

Outsource support

Here are the installation steps for ionCube loader:

Download link: http://www.ioncube.com/loaders.php

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

tar -zxvf ioncube_loaders.tar.gz

cd ioncube

mv ioncube /usr/local/

You can check the path of the php.ini file with the below command:

php -i | grep php.ini

Edit the php.ini file with the following command:

nano php.ini

Then, add the below line in the php.ini

zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so

So, now determine if ionCube is on your dedicated web server, do the following:

Add the below code in you a php file, usually in case of cPanel server it is under your public_html directory



And, access the file in your favourite browser.

Using SSH you can check it with the command:

php –v
source
Knowledge base web hosting guide, world best web hosting guide magazine  webhostingmatters.com

Monday, February 21, 2011

How To Install IonCube Loader in WHM Cpanel

What is IonCube ?
Secure and license your PHP scripts with the ionCube PHP Encoder. Protect files with PHP encoding, encryption, obfuscation and licensing capabilities.
Prepare Webserver and PHP
I assume you already have apache webserver and php installed on your server.

Download IonCube and Install it :
Login as root into your server
$wget http://repository.wowtutorial.org/ioncube_loaders_lin_x86.tar.gz
$tar zfx ioncube_loaders_lin_x86.tar.gz
$mv ioncube /usr/local
Find your php.ini
$php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
Edit your php.ini
$pico /usr/local/lib/php.ini
### add this line in your php.ini
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so
## save this file
$
Important : if you have zend optimizer and zend manager installed on your php
Please make sure ioncube_loader is on the top of zend list.
Ex php.ini :
[Zend]
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so[/code]
Restart Webserver
$service httpd restart
Verify your PHP with phpinfo or php -v
$php -v
PHP 5.2.5 (cli) (built: Mar 17 2008 14:00:52)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
source wowtutorial.org