DEV Community

Brent Roose
Brent Roose

Posted on • Originally published at stitcher.io on

Upgrade to PHP 7.3 with Homebrew on Mac

Upgrading with Homebrew

Start by making sure brew is up-to-date:

brew update

Next, upgrade PHP:

brew upgrade php

Check the current version by running php -v:

php -v

# PHP 7.3.3 (cli) (built: Mar 8 2019 16:42:07) ( NTS )
# Copyright (c) 1997-2018 The PHP Group
# Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies
# with Zend OPcache v7.3.3, Copyright (c) 1999-2018, by Zend Technologies

Continue reading on https://stitcher.io/blog/php-73-upgrade-mac

Oldest comments (0)