PHP 8.6 is officially out — and right on cue, running a careless brew upgrade php is the fastest way to break three active Laravel or WordPress projects on your Mac.
Between strict deprecation changes, Composer platform checks, and Homebrew's dynamic library bumps ( icu4c , openssl ), upgrading a single global PHP binary on macOS almost always causes avoidable downtime.
Here is the clean way to run PHP 8.6 side-by-side with PHP 8.3–8.5 on Apple Silicon (M1–M4) and Intel Macs using isolated PHP-FPM Unix sockets.
1. Test PHP 8.6 Safely via Homebrew Without Changing Global PATH
Homebrew ships the newest stable release under the unversioned php formula ( 8.6.0 ), while older series live under [email protected] , [email protected] , etc.…