Hi All,
If you have dedicated server and like to install ioncube on your server without any hassle then follow my below notes to do easy installtion.
Let me introduce you what is ioncube.
ioncube is basically a 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.
Here is the installtion procedure.
You can always download latest version of ioncube from this below link.
http://www.ioncube.com/loaders.php
Step 1: Use wget command to download the latest version of ioncube in your linux server.
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
Step 2: Untar the package and place ioncube in proper directory.
tar -zxvf ioncube_loaders.tar.gz
cd ioncube
mv ioncube /usr/local/
Step 3: Check your php.ini file using grep command or you can find out from your web browser Just create one file phpinfo.php and add <?php phpinfo();?> and check where is your php.ini file is located.
Or simply you can use this command to find out your php.ini file
php -i | grep php.ini
Step 4: Edit your php.ini file using vi or emacs or nano
Generally php.ini located in this path /usr/local/lib/php.ini
So your command may be
vi /usr/local/lib/php.ini
or
emacs /usr/local/lib/php.ini
or
nano /usr/local/lib/php.ini
Step 4: Then, add the below line in the php.ini
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.2.so
Congratulation your ion cube software installed.
You can check that from phpinfo.php or just writing a unix command.
root@subikar [/home/myblogplanner]# php -v
PHP 5.2.9 (cgi) (built: Feb 9 2010 13:26:04)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.3.10, Copyright (c) 2002-2009, by ionCube Ltd.
The green color text is indicating you have successfully installed ion cube in your server.
If you need any help in this matter you can just make call to my number +919836892283 or 033 25290568
Here is my short blog post lets share with my friends who are learning linux and want to import or export data to phpmyadmin using linux. So here is the code for that.
Data Export in linux
mysqldump -u dbusername -h dbhost -pdbpassword dbname > dbname.sql
Data Import in linux
mysql -u dbusername -h dbhost -pdbpassword dbname < dbname.sql
This will solve your problem when you are not able to upload or download db from user inetrface of phpmyadmin.