I am trying to install PHP 5.6 with Postgresql using homebrew using this tutorial.
However, as I do not want to use mysql and apache, when installing php 5.6 I use t
I found a way to fix the problem. I installed postgresql with homebrew (even if it was already installed on my computer), then installed php5.6 with the following command line :
brew install php56 --without-mysql --without-apache --with-postgresql
Then I uninstall postgresql with homebrew
brew uninstall postgresql
And finally I installed php5.6 pdo-pgsql
brew install php56-pdo-pgsql
Hope it will help !