How do I install IonCube

Ioncube is already installed on the server your hosting account is on. To get your scripts to use ioncube there are two things that must be done.

First, you need to get a template php.ini with ioncube already configured in it. This can be accomplished by doing the following:
1. Login to your control panel
2. Choose "PHP Config"
3. Check the box labeled "IonCube" under "Install Default php.ini"
4. Click "INSTALL PHP.INI FILE".
That will place php.ini file with the name of php.ini.default in your public_html folder.

Second, you need to rename the file from "php.ini.default" to be "php.ini" and place into whichever folder you need IonCube installed.
You can do that using the file manager, ftp or ssh.


-------------------------------------------------------

The below tutorial is for users on servers not yet upgraded to apache2 and is meant for those with knowledge of extracting tools and may require SSH access to your account, but is doable over ftp.

The first step is to download the ionCube package from the ionCube developer's website
http://www.ioncube.com/loaders.php, the latest package at the time of this article for 32bit(box1 - 19, 21 and 27) and 64bit(all other servers) linux operating systems is here:


64-bit
http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

32-bit
http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

Upload this file to your / directory (not public_html). Then extract it.

64-bit
tar -xvzf ioncube_loaders_lin_x86-64.tar.gz This will create a directory called /ioncube/

32-bit
tar -xvzf ioncube_loaders_lin_x86.tar.gz

Now you need to edit your php.ini file and add the following line to the begining of the [zend] section

zend_extension = /home/username/ioncube/ioncube_loader_lin_5.2.so

Note: Replace "username" in the line above with your cPanel username.

That's it. If your script that requires ioncube is in a directory that is not in your public_html please copy the php.ini file to the directory the script is running from. Also, make sure that you have Ioncube loading before Zend Optimizer or you will get 500 errors.

Also if you chose to use FTP method instead of SSH method you will need to extract the .gz files on your computer at home then upload the /ioncube/ directory via ftp. Then edit your php.ini file in your favorite txt editor.

  • 11 Els usuaris han Trobat Això Útil
Ha estat útil la resposta?

Related Articles

ImageMagick

ImageMagick is already installed for PHP on all servers and can be accessed by the path /usr/bin....

Zend Optimizer

Zend Versions installed on Iwebhosting.com.my servers are: 3.0.1, 3.0.2, 3.2.0, and...

Third Party Installations

It would depend on each specific product and its functions and needs. If you have a specific...

How do I upgrade SourceGuardian?

To upgrade your current version of SourceGuardian you will need to do the following: 1. Download...

How do I install SourceGuardian?

SourceGuardian is already installed on the server your hosting account is on. To get your scripts...