Saturday, 15 March 2008

GoDaddy IonCube Problem

Ok, so I was recently setting up another Joomla website on GoDaddy, using a component which required the installation of IonCube...

It was all working fine, but suddenly this morning the component died on me. I am using PHP5 since this is the currently supported version, but something happened overnight. I'm assuming GoDaddy did some maintenance. The first thing which I noticed was that the error was asking for ioncube_loader_lin_5.2.so, instead of the previous version that I had been using ioncube_loader_lin_5.1.so. So I uploaded the 5.2 version.

However, the problem persisted. It seems that with the new upgrade RunTime loading was no longer supported. Runtime loading means that you only have to create an ioncube folder in your root, and the ioncube loaded correctly. 

So off to the next step. Start playing around with the php.ini file. I inserted the line into the php.ini file

zend_extension=<path_to_root>/ioncube/ioncube_loader_lin_5.2.so

which should have got it running. But the problem persisted. It seemed that the php.ini was being ignored. So what was wrong? Seems that with PHP 5, the php.ini has actually become php5.ini. I thus renamed,the php.ini file in the root to php5.ini and voila, the problem vanished.

So, if you want to get your Ioncube to work on GoDaddy with PHP5.

Create ioncube folder in the root of your website. Upload the necessary loader files to the ioncube folder. 

If you don't have a php5.ini, create it and insert the following line in it:

zend_extension=<path_to_root>/ioncube/ioncube_loader_lin_5.2.so

<path_to_root> is the absolute path to your folder, and the loader version should correspond to the correct version on your server.

Comments
Search RSS
Trevor  - Same problem   |68.150.39.xxx |2008-04-08 20:14:22
Forgive the newbie question... but I have the same issue with Godaddy... what is
the "absolute path to your folder"? Since its in the directory is it / ?
DART Creations  - Absolute path   |217.145.5.xxx |2008-04-09 05:52:18
Trevor, the absolute path varies for each hosting account. However, if you look
in your configuration.php file, one of the fields is the absolute path so you
can find it in there.
Barb   |190.2.224.xxx |2008-07-17 16:56:42
Hey, just wanted to say thanks! Changing the file name to php5.ini worked
perfectly for me.
David  - Joomla 1.5   |150.176.174.xxx |2008-07-23 13:40:54
There is no Absolute oath in Joomla 1.5??? Do you know where they have moved
the Absolute path to in joomla 1.5?
David  - Joomla 1.5   |150.176.174.xxx |2008-07-23 13:41:21
There is no Absolute path in Joomla 1.5??? Do you know where they have moved the
Absolute path to in joomla 1.5?
DART  - Absolute Path   |Registered |2008-07-23 14:35:02
The absolute path is no longer needed in Joomla 1.5 configuration, so best thing
to do if you don't know it is ask your hosting company.
Adam  - Thanx   |75.212.81.xxx |2008-09-04 17:40:28
Dart,
thanx for this helpul information.
Aaron  - Thanks for everything-   |67.61.91.xxx |2008-09-25 19:20:41
You guys saved my life. I really appreciate it.
Charles  - ???     |24.43.4.xxx |2009-01-30 22:29:22
I don't run Joomla, but I suspect the installation of Ioncube is independent of
Joomla.

I host on a shared account on GoDaddy. I renamed my php.ini file to
php5.ini and now I get a n "Internal Server Error".

Ideas?
Anonymous   |122.160.70.xxx |2009-05-22 09:26:42
Anonymous   |122.160.70.xxx |2009-05-22 09:27:13



Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Saturday, 15 March 2008 )