macOS – Installer PHP 7.4 et forcer son usage

MacBook Pro affichant du code

Commencer par installer homebrew /bin/bash -c « $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh) » PHP 7.4 a été retiré de homebrew-core. Il faut passer par le tap qui garde les anciennes versions brew tap shivammathur/php brew install shivammathur/php/php@7.4 brew link –force php@7.4 brew services start php@7.4 export PATH= »/usr/local/opt/php@7.4/bin:$PATH » export PATH= »/usr/local/opt/php@7.4/sbin:$PATH » Sur Apple Silicon, remplacer /usr/local/opt par /opt/homebrew/opt Une fois que … Lire la suite

Catégories OSX