how to know if GD installed?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kevin7
Forum Commoner
Posts: 96
Joined: Fri May 21, 2004 6:54 am

how to know if GD installed?

Post by kevin7 »

can anyone teach me ? how i know if i installed the GD and the GD is working properly?

i've download the GD and installed... from
http://gnuwin32.sourceforge.net/packages/gd.htm

i downloaded the setup file, i've restart my computer...
but y it is not working? is that i've to change oher configuration?

i'm using winXP's IIS and php 4.3.6...
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

use phpinfo() and see if it shows up on the page, if it does, google for [google]GD tutorials[/google] and paste the code and test it out. if its a no go then google for [google]install GD on IIS[/google] or check this out.
http://www.livejournal.com/community/ph ... /1852.html
kevin7
Forum Commoner
Posts: 96
Joined: Fri May 21, 2004 6:54 am

Post by kevin7 »

but the problem is.... i can't find the php_gd.dll ir php_gd2.dll

can u send to me~~ is urgent~~
qads
DevNet Resident
Posts: 1199
Joined: Tue Apr 23, 2002 10:02 am
Location: Brisbane

Post by qads »

kevin7
Forum Commoner
Posts: 96
Joined: Fri May 21, 2004 6:54 am

Post by kevin7 »

aisk... i downloaded... almost everything~~~ i still can't find the php_gd2.all~~~

damn!.. i goin' to insane...

anyone? can u send me?
is that means if i hv the dll... then i can draw, convert to thumbnail??

tq
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

This will tell you if you have GD loaded

Code: Select all

<?php
if (extension_loaded("gd")) 
{
echo "GD found";
}
else
{
   echo "GD not found.
}
?>
Post Reply