Are you using josegonzalez brew repository according my previous blog post? You will need switch your brew to an official PHP repository.
1. brew untap josegonzalez/homebrew-php 2. brew tap homebrew/dupes 3. brew tap homebrew/versions 4. brew tap homebrew/homebrew-php
Then you can exec upgrade everything:
1. brew update && brew upgrade
Do not forgot change your shortcut in your bash profile:
1. alias php-start="sudo launchctl load ~/Library/LaunchAgents/homebrew.mxcl.php55.plist" 2. alias php-stop="sudo launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.php55.plist" 3. alias php-restart="php-stop && php-start"
You can also getting an error Dubious ownership on file… then change *.plists rights:
1. sudo chown root ~/Library/LaunchAgents/* 2. sudo chmod 644 ~/Library/LaunchAgents/*