STEP 1 :

Dowload phpinfo.php. Upload it to your document root in ASCII mode. Access it lik -
http://yoursite.com/phpinfo.php

Note the ‘System’ information at the top of the page carefully.

It tells the operating system and microprocessor information. It is Linux and i686 in the shown example.

STEP 2:

Download ioncube loaders from
http://www.ioncube.com/loaders.php
According to the system shown in the example, I can download the ‘Linux (x86)’ package from loaders.php page to your computer. Unzip the package.

STEP 3:

Create a folder called ‘ioncube’ under your ‘html’ directory. Upload the ioncube files from the package ‘Linux (x86)’ into this ioncube folder in BINARY mode. (Leave the text files.)

STEP 4:

4a. Create a text file ‘php5.txt’, on your computer using notepad. (Don’t use wordpad or any html editors.)
4b. Keep the following line in the text file and save it:

zend_extension=”/home/content/x/x/x/xxxxxxxxxx/html/ioncube/ioncube_loader_lin_5.2.so”

Note: Change the ‘/x/x/x/xxxxxxxxx/’ to your site details.

4c. Upload this php5.txt to your ‘html’ folder. (So it will be in the folder where the index.html file is.)
4d. Rename php5.txt to php5.ini through your FTP Software.

The file structure looks like this:

/html/index.html
/html/ioncube/ioncube_loader_lin_5.2.so
/html/php5.ini
/html/your_php_script_folder/

Now try accessing the script where you are getting the ioncube error. If it still showing the error try these:

1. Access the phpinfo.php that you have uploaded in the STEP 1. Scroll down to the end of the page. You will see your document root path. Add ‘/ioncube/ioncube_loader_lin_5.2.so’ to that path. Check that you have entered it correctly in php5.ini file. If not adjust it.

2. Have you used latest version of ioncube loaders? (Download from ioncube.com site as in STEP 2)

3. You should upload correct ioncube files based on opering system like Linix, FreeBSD etc. So make sure you downloaded correct ioncube package.

4. Ask your host to check your ioncube configuration.

Author: Radhika (c)
http://www.webmasters-central.com/




Related Posts