Reputation: 4152
I can't seem to upgrade to PHP 7 since upgrading OS X to Sierra. I've tried following various tutorials but this I can't seem to do it.
Mikes-MacBook-Pro:~ mike$ brew tap homebrew/versions
Updating Homebrew...
Mikes-MacBook-Pro:~ mike$ brew tap homebrew/homebrew-php
Updating Homebrew...
Mikes-MacBook-Pro:~ mike$ brew unlink php56
Unlinking /usr/local/Cellar/php56/5.6.29_5... 17 symlinks removed
Mikes-MacBook-Pro:~ mike$ brew install php70
Error: /usr/local/opt/php70 is not a valid keg
Can someone point out what is wrong?
Update...
In /usr/local/Cellar
Upvotes: 0
Views: 1050
Reputation: 111
Go to folder: /usr/local/opt/
Delete php70 folder.
Then run: brew install php70
or brew install php70 --with-httpd24
Upvotes: 2