Page 1 of 1

Problem with displaying image in php 5.2 through a script

Posted: Sat Sep 05, 2009 3:34 am
by brozz
I recently installed PHP5.2.9 and PHP5.3 with Xampp on my system.

I have a problem with displaying images from a script that works with GD and mysql. This same script works perfectly well using PHP5.1.

Find the property reports by Firefox.
This is the property report that displayed okay on PHP5.1
This is the property report that displayed okay on PHP5.1
ScreenShot_Photo_Error_Ok.jpg (55.54 KiB) Viewed 11117 times
This is the property report that displayed okay on PHP5.1
This is the property report that has error on PHP5.3
This is the property report that has error on PHP5.3
ScreenShot_Photo_Error_Error.jpg (57 KiB) Viewed 11118 times
This is the property report that has error on PHP5.3

Help and insight will be highly appreciated

Thanks,
Brozz

Re: Problem with displaying image in php 5.2 through a script

Posted: Sun Sep 06, 2009 2:57 am
by Salaria
Make sure that GD library is enabled in PHP. You can check with phpinfo(). If its enabled then please attach screen shot of GD info within phpinfo for more help.

Re: Problem with displaying image in php 5.2 through a script

Posted: Wed Sep 09, 2009 12:50 am
by brozz
Thanks Salaria.

This is the screenshot of the GD section of phpinfo().