Page 1 of 1

Working with ImageCreate in PHP?

Posted: Fri Feb 13, 2004 8:48 pm
by jwang
How can I use the GD library for create image in PHP.
I have tried to config PHP.ini with extension = php_gd.dll but apache run with error not found gd.dll. I have been download the GD library and I can't config this.
Please help me! Thanks!

Posted: Fri Feb 13, 2004 10:03 pm
by Pointybeard
as far as i know, GD2 is bundled with php, was with mine..... http://www.php.net

Posted: Fri Feb 13, 2004 10:15 pm
by jwang
Why it doesn't run?
The Apache always alert not found gd2.dll?

Posted: Fri Feb 13, 2004 10:48 pm
by Illusionist
Pointybeard, what version of PHP did you install? just curious i have 4.3.4, and it didn't come with GD2.... afaik... i may be wrong...

Posted: Fri Feb 13, 2004 10:55 pm
by Illusionist
ahh, nvm i had all my extensions disabled, and then my extension dir was wrong anyways! lol jwang, opent he php.ini file, and edit the extension_dir to match wherever you installed PHP to and the extension direct (c:\php\extensions\) and then scroll down a bit and turn on the extensions you want...


However i'm having problems with php_mcrypt.dll... it says it can't find it but its int he extension dir,a nd it found gd2.dll... wierd huh?

Posted: Sat Feb 14, 2004 1:25 am
by Pointybeard
hmm..lemme see......4.3.3..i havent upgraded to 4.3.4 yet....well heres what info tells me...

gd
GD Support enabled
GD Version bundled (2.0.15 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

I honestly cant remember installing GD...it just worked for me.... *shrugs*

-PB

Posted: Sat Feb 14, 2004 1:26 am
by Pointybeard
ahh, nvm i had all my extensions disabled
that would do it ;)