HOW TO INSTALL PHP 7.3 ON MAC- [ Updated 2019 ]

HOW TO INSTALL PHP 7.3 ON MAC- [ Updated 2019 ]

HOW TO INSTALL PHP 7.3 ON MAC- [ Updated 2019 ]



We are going to install PHP 7.3 in MacOS .First of all we need to install “Home brew”.For that copy and paste below given command in terminal and hit Enter.
[ads]





ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Once it is complete Run below given command just like before



brew install php@7.3

It will take some time ,Leave your computer for a while. Once all is done check php version in terminal using





php -v

[ads]



If you see no change in php version then restart your computer , So that it can take effect





Or



If you don’t want to install Homebrew then try this command





     curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3

[ads]
https://18.191.183.98/2019/04/09/how-to-setup-laravel-on-macos-xampp-2019/
[ads]