How to install PHP

how to download PHP

All you have to do is to tap in a terminal:

curl -s http://php-osx.liip.ch/install.sh | bash -s <version>

<version>: can be 7.2 7.1 or 7.0.

After the download, you can verify your current php version. If it is still the old one then you have to change you environment variable.

That's it !

 

Wrote by Raspaud Alexandre at June 6 2018, contact alexandre.raspaud@gmail.com.