

In this example, I'll install PHP 7.2 as that is the latest stable version of PHP. Installing PHPįirst, choose the version of PHP you want to install. While installing PHP OSX is just a few steps, I'll walk you through each of them. Searches related to all mac os versions list.
#Mac os list update for mac os#
It's available for Mac OS 10.6+ ( Snow Leopard to Mojave). Security Update 2021-004 (Catalina) macOS Catalina Security Update 2021-004 (19H1323) is recommended for.

PHP OSX is a package installer for PHP versions 5.3 to 7.3 (current). This will open a Terminal window and a command prompt for you to begin typing. But I found a pre-packaged alternative - PHP OSX. To update macOS from the command line, first launch Terminal, which can be found in the Applications/Utilities folder. So what do you do if you want to upgrade or install a different PHP version on your Mac? Well, you could use Homebrew. In fact, macOS Mojave was the first time the pre-installed version was recent - although still not the latest PHP version. Many of these PHP versions are already end of life. Mac OS 10.15 ( Catalina) pre-installed with PHP 7.3.

#Mac os list update mac os x#
For those reasons, I recommend following my latest tutorial on installing Apache, MySQL, and PHP on macOS using Docker.Īs noted in my posts on installing Apache, PHP and MySQL on Mac OS X, Mac OS X comes pre-installed with Apache and PHP. If you are running macOS Mojave or higher, the recommended solutions in this tutorial may no longer work.
