Page 1 of 1

gd extension problems

Posted: Thu Feb 13, 2003 4:27 pm
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

Posted: Thu Feb 13, 2003 5:25 pm
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

Posted: Fri Feb 14, 2003 2:56 am
by ozmodiar
Thamks,

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

Any other ideas?