title: Install PHP with Postgresql on MAC using homebrew
body: <p>I am trying to install PHP 5.6 with Postgresql using homebrew using this <a href="http://justinhileman.info/article/reinstalling-php-on-mac-os-x/" rel="nofollow" title="tutorial">tutorial</a>.</p>
  
  <p>However, as I do not want to use mysql and apache, when installing php 5.6 I use this command : </p>
  
  <pre><code>brew install php56 --without-mysql --without-apache --with-pgsql=/Applications/Postgres.app/Contents/Versions/9.4/bin/
  </code></pre>
  
  <p>However, I does not install postgres support. The first line I see is all the time : </p>
  
  <pre><code>==&gt; Installing php56 with --without-mysql, --without-apache
  </code></pre>
  
  <p>But nothing regarding --with-pgsql. </p>
  
  <p>When I try not to specify the link towards my postgres app, it tells me it cannot find pg_config. It also told me that --with-pgsql is deprecated and that I have to use --with-postgresql but in the end, it does not change anything.</p>
  
  <p>As anyone any idea of what could go be going on ?</p>