Skip to content

Instantly share code, notes, and snippets.

@jsifalda
Created September 25, 2012 06:54
Show Gist options
  • Save jsifalda/3780362 to your computer and use it in GitHub Desktop.
Save jsifalda/3780362 to your computer and use it in GitHub Desktop.
Installation PHP 5.4 on OSX with Homebrew (PHP-FPM)
#Optional
#add "export PATH=/usr/local/bin:$PATH #homebrew" into your ~/.profile file
#brew update
#brew doctor
# If you see some warnings, resolve it
#Tap the homebrew/dupes repository into your brew installation:
brew tap homebrew/dupes
#Tap the repository into your brew installation:
brew tap josegonzalez/homebrew-php
#Note: For a list of available configuration options run:
#brew options php54
#Then install php53, php54, or any formulae you might need:
brew install php54 --with-mysql --without-pear --with-fpm
#A have got a trouble with installation with "pear", and therefore added parametr "--without-pear"
#That's it!
#For more information please visit:
#https://github.com/josegonzalez/homebrew-php
#http://justinhileman.info/article/reinstalling-php-53-on-mac-os-x/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment