I'm using MAMP on a MAC. And in the php info page on MAMP, it says that mcrypt is enabled. However, when I run "php -m" on the terminal, I can't find mcrypt between the php modules.

Any advice??

  • Does the provided answer below answer your question? If so can you mark it as the accepted answer?
    – ʀ2ᴅ2
    Mar 6, 2018 at 19:43

1 Answer 1


I don't think MAMP relies on the php package installed in Terminal (or in OS X for that matter). MAMP uses it's own php version located at /Applications/MAMP/bin/php/php5.5.3

The modules are in the folder I noted above in a subfolder called /modules. You would have to manually get mcrypt in the modules folder for MAMP to work with mcrypt.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .