Aaron.....
> I have php currently configured as reported by phpinfo()
>
> './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
> '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd'
> '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr'
> '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--enable-magic-quotes'
> '--with-mysql' '--with-pear' '--enable-sockets' '--enable-track-vars'
> '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf'
> '--enable-versioning' '--with-zlib'
So to me it looks like the php that is running does not include the
postgresql php module which contains the functions to talk to the
database. But maybe you are using pear as the interface between apache,
php and postgresql. I guess you can't connect to the database, right?
> When I try to reconfigure php with the '--with-pgsql-dir=/usr' flag php
> appears to compile and configure properly yet the builddate in
> phpinfo(); never changes.
Maybe you have to restart Apache? Php is most usually an Apache module
and unless Apache restarts the changes won't be there.
What OS are you using? I use Debian and don't often compile I just grab
the packages.....
brew