Hi there,
Luckily for me I do not have any hair on my head. If I did, then I probably would have pulled most of it out by now!
There is a huge amount of conflicting info on the web regarding GD and how to install it, so I have finally decided to submit a post specific to my unique requirements.
I am using apache 2.2 on my mac os 10.5.8. This is the bundled version of apache. I have changed the httpd.conf file to include the php_5 module. The phpinfo(); command tells me that I am running php 5.2.8, which, according to various sources, includes the GD library, I just have to compile php --with-gd.
I have looked through the php.ini file, and the httpd.conf and not been able to find a way to add the line ‘–with-gd=usr/’ to the configure command.
To be honest, I don’t really know what the configure command is… Something that is set when you compile php at the command line is my best guess. But I didn’t compile php at all, it was already done for me, I just had to remove a hash from httpd.conf and restart apache.
Because all of these files are (rightfully) hidden from the user, I can’t search for the gd library very easily either, so I can’t be sure if I even have it.
So I guess my question is this: Is the GD library included with apache 2.2/php 5.2.8 bundled with mac os 10.5.8, and if so, how do I activate it?
Many thanks in advance,
Mike