icetimux

Home | Snippets | Archive

PHP macOS Big Sur setup

September 26, 2021

Install php 7.4/8.0

brew install php@7.4
brew install php

Install mcrypt

brew install mcrypt

Give pecl the install location of the mcrypt homebrew cellar

pecl install mcrypt <<<"$(ls -d $(brew --prefix)/Cellar/mcrypt/* | tail -1)"

Stack Overflow answer https://stackoverflow.com/a/67761346


© 2021 Timothy de Jongh