views:

223

answers:

2

This has been the nightmare of all nightmares. For 4 days now I have been fighting to install ioncube loaders on godaddy. I am sure that I have uploaded the correct loaders, and I am using a zend extension line in a php5.ini file that is located in the public_html folder. The ioncube directory is also in the public_html folder.

It will all of a sudden start working and my info.php will show that the ioncube loaders are installed, but then after awhile it stops working. This has happened a few times and it would seem that the server isn't refreshing or something. For instance, when I try a zend extension, I refresh the info.php and try to run an encoded file, if it still doesn't work, I instantly try a different file path and do the same thing, and on and on it goes. So it would seem that one of the steps that I took actually did get it working - but that I just needed to wait for it to take effect? Is that possible?

The last time that it was working, my info.php was showing the configuration path as:

/home/content/30/4750330/html/http:/powersave3400.com/public_html/

and thats what I had for my zend extension. I am trying to retrace my steps as far as what I have named the file, where it has been and what zend extension I am using - but this is getting really frustrating. So I thought it was working when I had php5.ini in the public_html folder with the zend extension above - but then it stopped working, so prior to that I had it called php.ini (no 5), so thats what I am trying now.

So how long should I wait after I make a change to try something else?

According to godaddy, the absolute path would be (username-related) :

zend_extension=/home/content/s/a/v/savepower/html/ioncube/ioncube_loader_lin_5.2.so

According to other forums, the absolute path would be(domain-related):

zend_extension=/home/content/p/o/w/powersave3400/html/ioncube/ioncube_loader_lin_5.2.so

I am confident that the path is: /home/content/30/4750330/html/http:/powersave3400.com/public_html/

Because A) thats what the info.php file was showing when it was working, and B) When I run the ioncube loader assistant, it shows that it finds the loader there.

So I guess I just need advice on where to put the php file and what to call it. php or php5?

Currently I have been trying the public_html folder (which is where my ioncube directory is),

but the structure of my site is: http://www.powersave3400.com/http:/powersave3400.com/public_html

Should I be putting it higher up? If anyone else has run into this, I would love to hear how you dealt with it. Thanks in advance!

A: 

yes there's a hope :) I just got mine installed and working as well

http://www.webika.com/Installing-ionCube-on-GoDaddy-server-using-PHP-pinnacle%20-cart.html

follow this one :)

A: 

If you're using php5, make sure you've chosen that as your php version in the control panel. Then you'll have to edit the php5.ini file in your site's root folder (if it's not there, create it). Use the zend_extension line you have above. Depending on your site's configuration, you may be using php in cgi mode, or fastcgi mode. Either way, go into your control panel, then go into the process manager and restart your web (fastcgi) processes so that your php5.ini file changes are picked up. If you've done it correctly, a phpinfo file should show you that ioncube is loaded.

Luu