Yahaay CodeStash

Install PHP 7.0 on Mac OS (with homebrew)

Spread the love
brew remove --force --ignore-dependencies httpd
brew remove --force --ignore-dependencies php70-xdebug php71-xdebug
brew remove --force --ignore-dependencies php70-imagick php71-imagick
brew remove --ignore-dependencies --force php70 php71 php72

`brew install 70`

 

force to overwrite existing PHP with the newly install version

brew link php70 –force

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *