Needing GD extension

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
griffinmt
Forum Commoner
Posts: 35
Joined: Sun Jul 16, 2006 8:37 pm
Location: Michigan

Needing GD extension

Post by griffinmt »

I have Fedora V5 running, and am using the packaged versions of Apache, MySql, PHP etc that came with it (plus routine upgrades applied).

For PHP, I am running V5.1.4, but it does not have the GD support, as evidenced by the following config info:
without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'
. I believe it has the other pre-requisits?!

I have included the mysql extension which is working fine, but cannot locate the .so file for GD.

Can anyone help me find what I am looking for? If I have to load the code and build it, am not sure where to start with this (or even how to end!!!! :oops: )
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

according to http://www.fedoratracker.org/tracker.py ... teration=2 there's a separate package for the mysql extension.
griffinmt
Forum Commoner
Posts: 35
Joined: Sun Jul 16, 2006 8:37 pm
Location: Michigan

Post by griffinmt »

I have mysql up and running via the

extension=mysql.so
extension=mysqli.so

commands in php.ini

But I have no equivilent modules for GD

I have run a yum install gd-devel
as suggested by the gd doc, but all that does is install the product along with any pre-requisits. It does not produce the so module for php.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

griffinmt
Forum Commoner
Posts: 35
Joined: Sun Jul 16, 2006 8:37 pm
Location: Michigan

Post by griffinmt »

Thanks for that info. Not too up to date on the right way to do all this yet with Fedora, but at any rate, I did a:
yum install php-gd
found the gd.so module with the others, added the extension reference, restarted httpd and it all works as expected (so far :wink: )
Post Reply