GD Module

Anyone know why phpinfo does not show GD info…
i tried this command in putty - rpm -qa |grep gd
and got the result

gd-2.0.28-5.4E.el4_6.1
gd-progs-2.0.28-5.4E.el4_6.1
gdbm-devel-1.8.0-24
gdb-6.3.0.0-1.153.el4_6.2
gdbm-1.8.0-24
sysklogd-1.4.1-26_EL
gd-devel-2.0.28-5.4E.el4_6.1

I don’t know anything, so i will need to be walked through step by step. I have no experience with ssh, line commands, or putty so spell it out for me thanks.

if GD is installed, why its not showing in phpinfo???
If GD is installed already, how can i know??? im using CAPTCHA or for dynamic image generation with php scripts for image verification, so is must…

Thanks :slight_smile:

If the server admin installs GD using YUM, GD might not show up in phpinfo IIRC

Hi Ahmed,

Thanks for your reply…

i tried php -info | grep GD

and got the result
GD Support => enabled
GD Version => bundled (2.0.34 compatible)

So this means that GD is installed & enabled…
My question here is why its not showing in phpinfo and php scripts related to GD not working… for eg: i tried to do <? print_r(gd_info); ?> but gives an error Fatal Error: Call to undefined function gd_info()…

Awaiting your reply…
Thanks

[quote=ahmednuaman;2331737]It should normally say the following:

GD Support => enabled
GD Version => bundled (2.0.34 compatible)

Try this in SSH:
php -info | grep GD[/quote]

Thanks for your reply…

when i tried YUM commands in SSH, it says
-jailshell: yum: command not found

and functions related to GD are not working in php script.

Thanks

Do you have the php shared object installed with the library? You have to configure php --with gd. If it is, it should show up on your phpinfo page under the configure command. The only time I’ve seen it not show up on phpinfo()is when it was installed using yum. I wonder if it is a similar issue if installed using RPM?

Thanks a lot for spending time for my problem…
GD started working now…

Thanks a lot for spending time for my problem…
GD started working now…