PDA

View Full Version : GD Library not working with PHP5 install HELP!


jscrilla
July 28th, 2006, 12:17 AM
Hi everyone,

I need the GD library working right on my system, been working on getting it going all night, but am at a loss as to what is wrong.

My server says everything is installed but it still won't work.

Here's the the GD test to tell what the version supports:

GD Output Page (http://www.jasonfrye.com)

and a test image create code at Test Page
(http://www.jasonfrye.com/test.php)

I've linked to the extension directory, and uncommented the gd.so in the php.ini file, but still cannot get the GD functions to create images. Please, can someone point me in the right direction?

thanks!

dtfinch
July 28th, 2006, 02:05 AM
Oddly there are 4 spaces at the beginning of the png. If I delete them, I get an image with "My first Program with GD". GD itself it working fine as far as I can tell. Gotta watch out for that extra whitespace.

jscrilla
July 28th, 2006, 10:15 AM
OK...hmmm. i'm still not seeing it. what why space did you remove?

jscrilla
July 28th, 2006, 12:41 PM
Ok i figured it out. Thanks for telling me about that. geez, what a minor error. lol.