recompile php with --with-pgsql


It appears as if I need to recompile php with the --with-pgsql option. I'm just making sure that that is the case. I see where it may be possible to alter php.ini to enable the loading of a shared library but I don't know exactly how to do that. It appears as if just uncommenting the line is for a Windows php installation and not a Mac installation.

Any help would be appreciated.

Update: I now have PHP 5 working with PostgreSQL. I've pulled down Apache 2.0 but have not compiled it or moved over to it. I'm wondering if there is any big advantage.