I need to install a version of PHP that has been compiled to work with Postgres, unlike the default version that came with my Mac Leopard system. How can I do this without somehow disabling the httpd.conf and php.ini files or confusing the system due to having so many of them?
Share
I used homebrew to do this:
this shouldn’t replace the existing php.ini file, but if you want to be careful, you can make a copy first. it doesn’t affect httpd.conf
more detailed explanation