Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mcnutty757's avatar

Mcrypt PHP extension required

I am using mamp on Yosemite. I just began watching the videos and came across this error after attempting to still laravel with composer: "Mcrypt PHP extension required."

I have spent the last several hours searching for a solution to no avail.

0 likes
6 replies
mcnutty757's avatar

@deringer I've been working on this all day and keep getting stuck at cd ../php-5.5.9/ext/mcrypt/ where I get a no such file or directory message. I also tried using homestead and couldn't quite get it right.

Any recommendations on how to improve command line skills? I feel like that is where I am getting tripped up...

michaeldyrynda's avatar

From your command line, where you are running cd ../php-5.5.9/ext/mcrypt run the command ls ../ and paste your output.

1 like
mcnutty757's avatar

I think I got it working...yup. @deringer Thanks for the help. I don't know why I suddenly became so obsessed laravel, but I'm glad I did!

1 like

Please or to participate in this conversation.