After upgrading to Mac OS X Yosemite, the connection to my Postgres-DB from PHP failed again. Funny that Apple puts Postgres on their OS X Server, but don’t compile PHP (on their normal edition) so you can use it.

The help was like last time:

Using this guide:

I found this:

curl -s | bash -s 5.4

but decided to go for php 5.5 (I could probably have gone 5.6 by now, but I was at 5.5 before and I didn’t want to break a thing that just works), so I change it to :

curl -s | bash -s 5.5

And my site was up running again in less than 5 minutes!

There was a warning that 5.5.17 which I got, had not been tested with Yosemite, but it seems to work for me.