Page 1 of 1

Php5 upgrade and no GD support

Posted: Sat Sep 02, 2006 12:22 pm
by supergeek
Hi,

I upgraded to php5 last night using Yum and the atomic servers. I looked at phpinfo() and it says it was configured without GD support. Does anyone know how I can add gd support to php5? I installed php-gd, and it installed fine but of course, I have to reconfigure php5 and recompile I guess.


Thanks.

EDIT: Apparently, the configure command that is shown in my phpinfo printout is misleading. I scrolled down a little further to the GD section and supposedly GD support is enabled, but my captcha images still aren't being displayed. I'm not sure what's going on, but I'll keep looking.

EDIT: Nevermind...got it working. What I did was run this command "yum install php-gd" and then it started working. I did restart apache...that might be necessary, not sure.

Posted: Sat Sep 02, 2006 1:38 pm
by scott
Yep, this is covered on the php projects page. There are some other naming convention changes you should be aware of as well.

Posted: Sun Sep 03, 2006 10:48 am
by zeki
hi,
it is possible to install php5 from art as option and let the php4 installation on the system?

then f.e php5 can defined via .htaccess

greets
zeki

Posted: Tue Sep 05, 2006 11:04 am
by scott
sure, just not with my stuff

Posted: Tue Sep 05, 2006 6:59 pm
by zeki
okay, thank you!

Posted: Fri Dec 29, 2006 6:40 pm
by nunor
I have the same problem.

I'm running FC2 and upgraded to PHP 5.0.4

GD is installed ( I can see it in the php info) but I also see that following:

'--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba'

Mysql & GD are working. Is there a way to recompile php with the correct settings?

Thanks
Nuno

Posted: Fri Dec 29, 2006 7:30 pm
by scott
Thats misleading output right there. Those are the correct settings for the way php 5 is designed in Fedora (which is what mine is based on). Basically all those things that were previously captured in the configuration of the main php module, libphp5.so, have been moved into individual module configurations. So its not going to display in phpinfo() any more.

Posted: Fri Dec 29, 2006 11:38 pm
by nunor
thanks scott for the explanation