User Tools

Site Tools


guides:php:install:mac

Installation

The recommended way to install PHP on Mac is with the brew package manager

Follow the instructions https://brew.sh/ to install brew

Then execute the following:

 brew install php@7.4

Docker

Running on a Mac with an M1 chip may cause issues if you want to run all the PHP extensions as some may not be compatible. Docker is a solution here.

 brew install --cask docker
 
 
guides/php/install/mac.txt · Last modified: 2021/06/13 09:37 by andre