PDA

View Full Version : php and gd


jcote
04-18-02, 15:34
I installed php4.0.6. i believe the gd library was installed with it. So no problem. This week I started playing with creating images using imageCreate(), etc. So I'm creating PNGs no problem. After a day of playing with this, I start getting the error:
Fatal error: Call to undefined function: imagecreate()
This usually means that you don't have the library, but I do have it. Any ideas as to why this conked out after performing fine for a day?
This is on Mac OSX by the way.
thanks...

mligor
07-24-02, 18:41
mybe, you did't restart your computer and service, and day before you have used old version of PHP.


just... thinking :o

Bertik
10-23-02, 11:09
try to use dl(php_gd.dll); or dl(php_gd2.dll); before using functions from gd ...