Php5 upgrade and no GD support

Support/Development for PHP
supergeek
New Forum User
New Forum User
Posts: 1
Joined: Sat Sep 02, 2006 12:19 pm

Php5 upgrade and no GD support

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
zeki
Forum Regular
Forum Regular
Posts: 120
Joined: Sat Aug 12, 2006 8:14 am

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

sure, just not with my stuff
zeki
Forum Regular
Forum Regular
Posts: 120
Joined: Sat Aug 12, 2006 8:14 am

Unread post by zeki »

okay, thank you!
nunor
New Forum User
New Forum User
Posts: 4
Joined: Fri Dec 29, 2006 3:08 am
Location: Luxembourg

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
nunor
New Forum User
New Forum User
Posts: 4
Joined: Fri Dec 29, 2006 3:08 am
Location: Luxembourg

Unread post by nunor »

thanks scott for the explanation
Post Reply