Page 1 of 1

Recompiling php help

Posted: Tue Jan 02, 2007 8:28 pm
by k2xl
I have a virtual dedicated server with godaddy, my phpinfo is here: http://www.k2xl.com/phpinfox.php

As you can see, it says --without-gd on the configure line. I need to obviously make it say with-gd to be able to use gd in my php coding.

I am running a linux server, and I have putty all ready with root access and I know I need to type to recompile php:
./configure --with-gd

However, I have absolutely NO idea where I'm supposed to type this in. I don't have a folder called php? Couldn't I just put some line into my php.ini?

If you could help me figure this problem, I'd be so grateful you won't even know.

Thanks so much in advance,
-Danny

Posted: Tue Jan 02, 2007 8:55 pm
by feyd
Please don't attempt to hijack another user's thread then create your own on the same problem.

Posted: Wed Jan 03, 2007 12:19 pm
by volka
From
Server: Apache/2.0.54 (Fedora)
X-Powered-By: PHP/5.0.4
I assume you're running Fedora Core 4.
A google search for fc4 php-5.2.0 found http://rpm.pbone.net/index.php3/stat/4/ ... 6.rpm.html
Also there's a how-to on installing apache and php on unix-like systems at http://www.php.net/manual/en/install.unix.php

Does your provider offer some kind of update/upgrade? You might want to ask them about installing the rpms or compiling php and/or apache from sources before trying. What about security updates? see http://fedoraproject.org/wiki/FAQ#head- ... 851b50b7ca