May 09 2009
Posted by Webmasters-central.com as Tutorials
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.
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Dec | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 | ||||
3 Responses
besan
May 9th, 2009 at 6:55 pm
1Very good tutotial …
Tom
August 19th, 2009 at 1:07 pm
2THANK YOU!!!! SUPER tutorial it helped me
Dennis
September 26th, 2009 at 3:44 pm
3I had it working with the same way as your tutorial until 2 says ago, then it stopped working.
RSS feed for comments on this post · TrackBack URI
Leave a reply