gd extension problems

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ozmodiar
Forum Commoner
Posts: 35
Joined: Sat Jun 01, 2002 6:29 am
Location: Dublin, Ireland

gd extension problems

Post by ozmodiar »

Hi,

Hopefully this one should be easy enough to get an answer for.

I am running PHP4.2 on an apache server in Red Hat linux. I want to update PHP with the gd extension.

When I try:

rpm -q gd

I get a message saying I have version 1.8.4-4 installed. But how do I get PHP to recognise that it is there?

I have been finding it very difficult to find a straight forward method for doing this.

Can anyone tell me what steps I need to take?

Thanks
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

as there is no additional php_gd-module listed but http://www.redhat.com/swr/i386/php-4.2. ... 86_dp.html shows a dependency on libgd.so.1.8 for php4.2.2-8.0.5 I suppose that gd-support is bulit-in.
Try

Code: Select all

<?php phpinfo(); ?>
is the gd-module already listed? Would be somthing like

Code: Select all

gd
GD           Support enabled
GD           Version 1.6.2 or higher
FreeType     Support enabled
FreeType     Linkage with TTF library
JPG Support  enabled
PNG Support  enabled
WBMP Support enabled
ozmodiar
Forum Commoner
Posts: 35
Joined: Sat Jun 01, 2002 6:29 am
Location: Dublin, Ireland

Post by ozmodiar »

Thamks,

I tried that but there is no listing for the gd-module.

Any other ideas?
Post Reply