How to upgrade from PHP 7.1 to 7.2 on MacOS using Homebrew

brew tap homebrew/homebrew-php
brew unlink php71
brew install php72
brew install php72-xdebug
brew install php72-imagick
brew install php72-redis
terminal

--

--

--

PHP developer and Laravel enthousiast at https://spatie.be, blogging at https://murze.be

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Freek Van der Herten

Freek Van der Herten

PHP developer and Laravel enthousiast at https://spatie.be, blogging at https://murze.be

More from Medium

PHP print_r() Function With Example — Phpflow.com

Notifications In Laravel — StudySection Blog

Notifications In Laravel — StudySection Blog

How to Enable and Disable Debug Mode in Laravel

How to use the new PHP enum in Laravel