How to install PHP on MAC

Run brew update command brew update If the Homebrew is not installed then you can install it from https://brew.sh/ Run brew install php@7.4 command to install PHP brew install php@7.4 Run the following command to restart the PHP service brew services restart php@7.4 Output: Successfully started `php@7.4` (label: homebrew.mxcl.php@7.4) Run the following command to create … Continue reading How to install PHP on MACMore