apna said:
I had same problem with Godaddy's virtual server, if you have CP or YUM installed in your server than it's much easy to install GD library.
I spent hours to install GD but had no luck, I had few options:
1- Get a C panel
2- use YUM
3- or recompile PHP with GD components.
I even try to install YUM but unsuccessful due to incompatibility with Python version in same server, so I took a short cut and switch my hosting to Startlogic.com, they had VPS package with pre-installed GD library.
Thanks
Apna
It's not hard to install YUM once you have a basic understanding of what needs to be done. You just download the rpm for it. Try to install it, and it lists like 5 file/programs whatever that it needs in order to be installed. Then you download the rpms for those and install them. Then you can install Yum.. After that, it really is just a matter of typing yum install php-gd. I however had no idea about any of this, so without PowerSpike's help, I would have been completely lost.
I've run into some other issues with my site as well, which I think are either caused by PHP version issues (ie. using 5 instead of 4), or are related to the PHP being compiled without the mysql option.
reconfiguring and recompiling PHP on GoDaddy without CP is impossible. Even using rpm and yum. I've installed like 20 packages it needed and I'm stilling having tons of issues. For example, it is telling me I need to install PCRE 6.6 or higher. PCRE 6.6 or higher requires Glibc 2.4 or higher. 2.3 is installed. And from what I've read, upgrading Glibc is not something you should attempt, because if one thing goes wrong, it can screw up your entire server, since there are like 250 packages that are dependant on it.
I've only ever used Cpanel on shared hosting, so I figured I could live without it, but I found out that for a VPS it makes everything 100x easier. I have a support ticket in to see if I can upgrade to it, because I just can't see solving my issue without it, since I cant recompile PHP. I am considering switching to another host, but I am a bit hesitant to transfer everything again and end up with the same problems. My site is basically 90% functional now, but the forums wont work due to the PHP issue. I cant leave it like that forever, but I'll wait to hear back from GoDaddy