Skip to content

Instantly share code, notes, and snippets.

@mmaassen
mmaassen / install_psql_php.sh
Last active October 13, 2015 07:35 — forked from giorgiofellipe/install_psql_php.sh
Install PHP PGSQL extensions on Mac OS X Yosemite (change PHP_VER with your PHP version)
PHP_VER=$(php -v | head -1 | awk '{print $2}')
# Check if extension exists first
php -m | grep pgsql
# Update brew and install requirements
brew update
brew install autoconf
# Download PHP source and extract