DEV Community

Brent Roose
Brent Roose

Posted on • Originally published at 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

Top comments (0)

50 CLI Tools You Can't Live Without

The top 50 must-have CLI tools, including some scripts to help you automate the installation and updating of these tools on various systems/distros.