From ea94bd2b98da2be3466634178a4c10d23afefdff Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Sat, 10 Apr 2021 21:44:06 +0100 Subject: [PATCH] WEB: Add note about using MacPorts to get PHP dependencies --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6303b70a..18dea562 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Before installing please make sure you have the following installed: * [PHP](https://www.php.net/manual/en/install.php) * PHP YAML extension. Install via `pecl install yaml` or `sudo apt install php-yaml` * The version of PHP included with macOS doesn't include PECL, so you'll need to install a different version of PHP [through Homebrew](https://formulae.brew.sh/formula/php) or another method + * Alternatively on macOS you can use [MacPorts](https://www.macports.org) to install both PHP and yaml (for example to use PHP 7.4 `sudo port install php74 php74-yaml php74-iconv php74-intl php74-mbstring php74-sqlite ; sudo port select --set php php74`) * [Composer](https://getcomposer.org/) * [Python & pip](https://www.python.org/) (2.7.9+/3.4+) * [Node.js & npm](https://nodejs.org/)