How to install ionCube loader Published: Mar 19, 2004
  • Rating

    4/5

A guide to installing and configuring the ionCube loader to view encoded web pages for scripts such as ClientExec.

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

2. Unpack the program
tar -zxvf ioncube_loaders.tar.gz

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

 

  • Rating

    4/5

Related Articles

Comments (14)

  • Gravatar - KDU
    KDU 14:24, January 12, 2005
    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?
  • Gravatar - Justin
    Justin 11:04, March 8, 2006
    They should have it installed, it's default for most. I just asked my web hosting company and they did it for me.
  • Gravatar - serviceTech
    serviceTech 06:12, March 26, 2006
    I get this error on restarting apache:<br />
    <br />
    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<br />
    <br />
    The path is correct and the said file is present.<br />
    <br />
    Any ideas?<br />
  • Gravatar - norman
    norman 15:08, July 7, 2006
    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.
  • Gravatar - shan
    shan 14:44, December 13, 2006
    "Paste in your new line for ioncube loader<br />
    zend_extension= /usr/local/ioncube/ioncube_loader_lin_4.3.so"<br />
    <br />
    this line<br />
    zend_extension=/usr/local/ioncube/ioncube_loader_lin_4.3.so"<br />
    must be the first line before the other zend_extensions
  • Gravatar - John
    John 17:09, April 11, 2007
    This tutorial is a little dated - the names of files have changed slightly.
  • Gravatar - nate
    nate 19:10, May 14, 2007
    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!
  • Gravatar - Siavash
    Siavash 03:08, January 21, 2008
    Dear Admin<br />
    <br />
    I want to setup this moudle on the localhost<br />
    help me
  • Gravatar - compassrose
    compassrose 23:09, February 16, 2009
    The instructions provided by ioncube and this forum were correct to a point. Perhaps I have an unusual WAMP Server 2.0 installation but the loader failed consistently despite numerous attempts to place the dll file in various directories (per instructions.)<br />
    <br />
    On a hunch, I finally copied the appropriate dll (ioncube_loader_win_XXX.dll) into the apache directory: [drive letter]:\wamp\bin\apache\apache2.2.8\bin<br />
    <br />
    I then edited the php.ini file and added the following modified line: zend_extension_ts = "[driver letter]:\wamp\bin\apache\apache2.2.8\bin\ioncube_loader_win_XXX.dll" in the location recommended by ioncube, et al. No more errors and the module appears to be working.<br />
    <br />
    Hope this helps others.
  • Gravatar - Madiemax
    Madiemax 23:14, December 12, 2009
    Thanks Compassrose. Follow you directions for localhost and works fine. Well done!
  • Gravatar - Hector
    Hector 07:27, February 23, 2010
    How can disable the loader or be able to see the php coding so I can introduce cahanges to my web site
  • Gravatar - DNN
    DNN 23:30, March 17, 2011
    I am having trouble with the ioncube loader wizard script and how to properly do the SSH commands on my own. What I am trying to do is get the ioncube loader working, so that I can login to my administrative control panel. I've uploaded the site properly and everything else, but my server tells me I need ioncubeloader 5.0.2_so and it's not working...


    http://www.DrewryNewsNetwork.com

    http://forum.DrewryNewsNetwork.com

Add Your Thoughts

WebHostGear.com is a hosting directory, not a web host.

Copyright © 1998-2024 WebHostGear.com