- Install homebrew
- Update homebrew with
brew update
- Add josegonzales tap running:
brew tap josegonzalez/php
- Install mcrypt running
brew install php54-mcrypt --without-homebrew-php
(php54 => php 5.4.x ; php54 => php 5.3.x, etc ...) - Open your PHP.ini and add
extension="/usr/local/Cellar/php54-mcrypt/5.4.24/mcrypt.so"
- Restart your apache
Created
May 19, 2014 23:34
-
-
Save hugodias/7e73c8c022100d52b6ee to your computer and use it in GitHub Desktop.
Installing MCrypt extension on MAMP
Try this:
4. pecl install mcrypt
5. Open your PHP.ini and add
extension="/usr/local/Cellar/[email protected]/7.4.23/pecl/20190902/mcrypt.so"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get
Error: invalid option: --without-homebrew-php
I am using MAM PRO 3.6 with PHP 7.4.12