我已经安装了PHP,安装GDLib最简单(最好)的方法是什么?

I'm running a Mac Mini with Apache/PHP5/MySQL as my staging server. I'm building and using software that requires GDLib for manipulating graphics.

How can I install this on my machine? Im not much of a CI guru but Im not scared of it. I just have no clue how to troubleshoot errors or problems when ./configure says file not installed at the end or something.

Any help on this would be fantastic! Thanks Rich

If you can upgrade to Snow Leopard it's included out of the box. Otherwise, the instructions here should help.

Install MAMP, you can set it to run on port :80 and you can still edit your config so www.example.site works just fine. I also have mine set so all of the files are still kept inside the /Sites/ folder.

Fixing the Apache/MySQL/PHP setup that comes bundles with OS X is very painful for non sysadmins, esp if you just want to get on with building sites.

Normally gd is included by default. Check phpinfo(), if there is any gd mentioned then it is installed.