How to configure stock apache to use macports libgd???

Ryan Schmidt ryandesign at macports.org
Thu Sep 27 06:48:15 PDT 2012


On Sep 27, 2012, at 05:15, Charles So wrote:

> Currently libgd2 is installed on OS X 10.6 server. The stock apache must be used. 
> 
> Is it possible to configure it to use the newly installed libgd2 and related libraries???

Most software in MacPorts is not designed to integrate with or be used with Apple's Apache. In fact, gd isn't meant to be used with a web server at all, unless you have some sort of other library in between. For example, if you're using PHP, then you can compile a PHP module that gives you access to gd functions, and you can compile PHP as an Apache module. But in MacPorts, that's designed to work with MacPorts Apache and MacPorts PHP. The ports to install for that are:

php54-apache2handler
php54-gd



More information about the macports-users mailing list