building php5 with postgres support

Bill Moran wmoran at
Mon Feb 12 18:33:08 UTC 2007

In response to Noah <admin2 at>:

> Hi there,
> I commonly build php5 from /usr/ports and would like to automatically 
> have postgres support be compiled ever time I build php5.
> I do not see a 'make config' option for including the postgres 
> extensions, additions, and/or libraries.  What can I do so my 
> portinstall and updates via portmanager always build php5 with postgres 
> support?

install /usr/ports/databases/php5-pgsql.  Once it's there, your port
management tools will take care of it just like any other port.

If this doesn't answer this question, then you might want to give a
little more detail about what problem you're trying to solve.

Bill Moran
Collaborative Fusion Inc.

More information about the freebsd-questions mailing list