Koozali.org: home of the SME Server

GD graphics library problem

Barry Nesbit

GD graphics library problem
« on: October 12, 2001, 03:01:30 AM »
Hello,

I don't often resort to message boards for help as I prefer figuring things out on my own, however I'm running out of patience with this problem and computers in general and my persistence is wearing thin.

I'm trying to get the gd graphics library to work with PHP but am having some difficulties (call to undefined function when calling ImageCreate()). I'm running php 4.0.5 and have gd 1.8.4. installed. I also have modified the php.ini file to include "extensions=gd.so", and the module resides in the /usr/lib/php4 directory. Appropriately included in the configure command is "--with-gd=shared,/usr".

Any ideas what I'm doing wrong? Do I have to recompile php to get this to work?

Any help would be appreciated.

Thanks,

Barry

Thanks to e-smith (Mitel) and its contributors for producing one the greatest products I've ever downloaded.

Dan Brown

Re: GD graphics library problem
« Reply #1 on: October 12, 2001, 03:09:56 AM »
Have you installed a php-gd RPM?  Just adding the "extensions=gd.so" line won't do it; you also need the gd.so file installed.

Barry Nesbit

Re: GD graphics library problem
« Reply #2 on: October 12, 2001, 04:30:49 AM »
Yes, a gd.so file is installed.

Barry Nesbit

Re: GD graphics library problem
« Reply #3 on: October 23, 2001, 06:40:16 PM »
Thanks to SME V.5 and the folks who built it with the gd libraries installed, this thread is closed. Now, to get the gd perl module working...

Barry