Knowledgebase: Server side
How to install ioncube onto your hosting account
Posted by Sales Supervisor on 06 January 2008 03:39 PM

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.

You can use the package extractor built into your Cpanel, if available.

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_4.3.so


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.
(705 votes)
This article was helpful
This article was not helpful

Comments (0)
Post a new comment 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Fusion