DEV Community

loading...

Upgrade PHP 7.1 to 7.2 or 7.3

aviboy2006 profile image Avinash Dalvi ・1 min read

You can use curl to update php version.

curl -s http://php-osx.liip.ch/install.sh | bash -s 7.3
or
curl -s http://php-osx.liip.ch/install.sh | bash -s 7.2
Final Step:

export PATH=/usr/local/php5/bin:$PATH

Reference : https://stackoverflow.com/a/61282898/6285054

Discussion (0)

pic
Editor guide