Page 1 of 1

GD not installed

Posted: Thu Aug 02, 2007 3:31 am
by ayoksus
Hi,

I want to learn about drawing with php which needs GD library support. Before that I test the server if there is GD library installed. So I use this code:

Code: Select all

if(!function_exists("gd_info"))
But the result is no GD installed.

I check the phpinfo, GD is installed and all enabled. I check php.ini, the phrase extension:php_gd.dll, it is already uncomment. So, I don't know what else I should do.

Could someone tell me how to solve this problem?

Thank you,
ayok

Posted: Thu Aug 02, 2007 8:01 am
by Ollie Saunders
You are showing the tiniest snippet of code that you could be using incorrectly. What does

Code: Select all

print_r(gd_info());
produce?