Skip to content

Instantly share code, notes, and snippets.

@hugodias
Created May 19, 2014 23:34
Show Gist options
  • Select an option

  • Save hugodias/7e73c8c022100d52b6ee to your computer and use it in GitHub Desktop.

Select an option

Save hugodias/7e73c8c022100d52b6ee to your computer and use it in GitHub Desktop.
Installing MCrypt extension on MAMP
  1. Install homebrew
  2. Update homebrew with brew update
  3. Add josegonzales tap running: brew tap josegonzalez/php
  4. Install mcrypt running brew install php54-mcrypt --without-homebrew-php (php54 => php 5.4.x ; php54 => php 5.3.x, etc ...)
  5. Open your PHP.ini and add extension="/usr/local/Cellar/php54-mcrypt/5.4.24/mcrypt.so"
  6. Restart your apache
@saosangmo
Copy link

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