Created
November 6, 2014 01:50
-
-
Save ksomemo/3e8061e1b11d72433c99 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd ~/bin | |
curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew | |
chmod +x phpbrew | |
phpbrew init | |
source ~/.phpbrew/bashrc # and add this command to ~/.XXshrc | |
phpbrew lookup-prefix homebrew | |
brew install postgresql | |
phpbrew install 5.3.29 \ | |
+default +dbs +debug \ | |
+apxs2=/usr/local/Cellar/httpd22/2.2.29/bin/apxs | |
phpbrew switch 5.3.29 | |
# phpbrew off # when using system php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment