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.
|