I have already installed and configured new version of PHP with Homebrew, including MySQL support and XDebug. That works fine. However, I need to install the support for PostgreSQL as well. How can I do it?
I have figured out it is easy when installing PHP for the first time, just by adding the option:
homebrew install php53 --with-pgsql
How can I achieve something similar when my PHP is already installed, without reinstalling it completely? Or, if I reinstall, are all configs and additional settings, such as XDebug, kept?