Has anyone been able to set up PHP and Apache correctly on Mac OSX so that it can draw JPEG and GIF images?
I ran into a lot of trouble with the GD libraries, but I eventually able to get PHP to compile correctly with a separate copy of the GD libraries (version 1.3).
Here is the command that I used to configure it:
./configure --with-mysql --with-apxs --with-gd=/private/var/root/temp/fly-1.6.5/gd1.3
Here is the error that is produced when I try to draw images:
Fatal error: Call to undefined function: imagecreate() in /Library/WebServer/Documents/imgtest.php on line 7
I am using the Public Beta of Mac OSX, PHP 4.0.4, and Apache 1.3.14.
Thanks so much! I have spent a week of my life trying to get to the bottom of this problem, and I can't continue with my research until it gets fixed.