Enabling PostgreSQL support in PHP on Mac OS X

前端 未结 10 1444
执念已碎
执念已碎 2020-11-28 20:28

I\'m having a terribly difficult time getting the command \"pg_connect()\" to work properly on my Mac. I\'m currently writing a PHP script (to be executed from console) to r

10条回答
  •  情歌与酒
    2020-11-28 20:46

    OS X El Capitan users can simply upgrade their version of PHP 5.6. This is a one liner that will do that.

    curl -s http://php-osx.liip.ch/install.sh | bash -s 5.6

提交回复
热议问题