WebHostGear.com - the hosting resource for professionalshosting tutorials 
hosting howto webhost guide server managementJuly 23, 2008
server management, apache tutorials, hosting tutorials, cpanel, server security
Home / Hosting Tutorials / How to install ionCube loader

How to install ionCube loader



Printer Friendly Printer Friendly Send to a friend Send to a friend
By : ramprage Rating : Average Rating : 7.52 From 99 Voter(s)

ionCube produces leading tools for PHP source code protection to secure your PHP software from prying eyes and to combat software piracy. Featuring an advanced compiled-code encoding engine that translates source to highly efficient bytecodes, ionCube encoding tools deliver the ideal combination of maximum source code protection without sacrificing performance, reliability or language compatibility.

In order to view encoded ionCube files on your server you need the ionCube loader. This is a free plugin for Apache web server that only takes a few minutes to install and is well worth it.
http://www.ioncube.com/

Requirements:
- Root Shell access to your server
- phpinfo page: create a new document and call it phpinfo.php. Inside place phpinfo();
  Place this document in your www directory so you can view it and see all your PHP settings.

Installing ionCube Loader:

1. Download the program and store it on your server using wget or FTP.
http://www.ioncube.com/loader_download.php


Article provided by WebHostGear.com
2. Unpack the program
tar -zxvf ioncube_loaders.tar.gz



Article provided by WebHostGear.com

3. cd ioncube

4. copy ioncube-install-assistant.php to a web directory such as your hosting directory and open it in your browser window.
cp ioncube-install-assistant.php /home/userdirectoryhere/www

Then open it http://www.yourdomain.com/ioncube-install-assistant.php
The output should be something similar to:

Analysis of your system configuration shows:

PHP Version 4.3.3
Operating System Linux
Threaded PHP No
php.ini file /usr/local/lib/php.ini
Required Loader ioncube_loader_lin_4.3.so

5. Now lets move the iconcube directory to a permanent location:
cd ..
mv ioncube /usr/local

6. Now that you know the location of php.ini you need to edit it.
pico /usr/local/lib/php.ini

Now find where other zend extentions are in the file.
ctrl + w: zend_extension

Paste in your new line for ioncube loader
zend_extension = /usr/local/ioncube/ioncube_loader_lin_4.3.so

7. Save the changes
ctrl + X then Y and enter

8. Restart the web server to take effect.
/etc/init.d/httpd restart

Success! You should now see a section in your PHP Info page that says:
Additional Modules
Module Name ionCube Loader

 

New! - Need server help? Hire an Expert

Get professional help with your configuration, script installation or server issue.
Learn how we can help you with any server problem and make your server run like new. Professional staff will contact you, after submitting a quote request, by phone or email.

Rate this Article :

1

2

3

4

5

6

7

8

9

10
Poor Excellent

Related Articles


» Setting up Private Nameservers in Cpanel
» Starting Your Own Hosting Company
» How to install BFD (Brute Force Detection)
» How to install APF (Advanced Policy Firewall)
» How to install mod_security for Apache
» Guide to .htaccess tutorial and tips
» Server Loads Explained
» Apache Log Files Explained


Discuss this article with others in our new hosting forums

Comments / Feedback

KDU
Dear sir,Let say i am renting web hosting with some company. I didnt have root access.. but i have ssh access instead cpanel. Is there anyway for me install ioncube?
Justin
They should have it installed, it's default for most. I just asked my web hosting company and they did it for me.
serviceTech
I get this error on restarting apache:

Failed loading /usr/local/ioncube/ioncube_loader_lin_4.4.so: /usr/local/ioncube/ioncube_loader_lin_4.4.so: cannot open shared object file: No such file or directory

The path is correct and the said file is present.

Any ideas?
norman
You have the wrong version of the loaders installed. You either put in the 32 bit or the 64 bit version and you need the other.
shan
"Paste in your new line for ioncube loader
zend_extension= /usr/local/ioncube/ioncube_loader_lin_4.3.so"

this line
zend_extension=/usr/local/ioncube/ioncube_loader_lin_4.3.so"
must be the first line before the other zend_extensions
John
This tutorial is a little dated - the names of files have changed slightly.
nate
I seem to be getting stuck at the last part. When I go to http://www.myhost.com/ioncube/ioncube-install-assistant.php I am told that the file has been encoded with ionCube. Isn't this the file that's supposed to help you with that? Thanks!
Siavash
Dear Admin

I want to setup this moudle on the localhost
help me

 Add Comment
Name
Email
Image Code
Refresh Image

Comments / Feedback



Web Hosting News RSS ?


WebHostGear Hire an Expert - NEW!
Let us improve your servers performance, find that spammer and take care of that kernel upgrade. Hire us to help with any tutorials listed on the site or any other services needed. Get your free, NO obligation quote now

Our site offers free hosting tutorials, cpanel tutorial, web hosting news, shell commands, running a web hosting business, dedicated guides, linux tutorial, apache install, home web server, web server guide, ssh commands, dedicated servers, DNS nameservers, chkrootkit, apf firewall, exim configuration, server compromised, cron backup solution, ftp backup script

Server Tutorials


WebHostGear Reviewed by Ping Zine - Click here

Special Offer:


Links:
cPanel server administration

MidPhase Coupons

Reseller Hosting

Reseller Hosting FAQ

Icon

Web Hosting

Datacenter Discussion Forum

Lunarpages Coupon

Hosting Coupon



WebhostGear Sponsors
Going Up Advertise Hosting Free Uptime Check Web Hosting Chat Icons Banners Mall