Merge pull request #1025 from joshkautz/patch-1

Update 01-04-01-Mac-Setup.md
This commit is contained in:
Xymph
2025-04-17 12:43:21 +02:00
committed by GitHub

View File

@@ -9,10 +9,10 @@ macOS 12 (Monterey) and later does not come prepackaged with PHP. Earlier macOS
### Install PHP via Homebrew
[Homebrew] is a package manager for macOS that helps you easily install PHP and various extensions. The Homebrew core repository provides "formulae" for PHP 7.4, 8.0, 8.1, 8.2 and PHP 8.3. Install the latest version with this command:
[Homebrew] is a package manager for macOS that helps you easily install PHP and various extensions. The Homebrew core repository provides "formulae" for PHP 8.1, 8.2, 8.3 and 8.4. Install the latest version with this command:
```
brew install php@8.3
brew install php
```
You can switch between Homebrew PHP versions by modifying your `PATH` variable. Alternatively, you can use [brew-php-switcher][brew-php-switcher] to switch PHP versions automatically.