Mcrypt PHP extension required

Posted 4 years ago by DMA

So I've got Laravel Homestead set up, installed Composer and Laravel locally and have followed the set up videos by the letter.

I'm following the Larabook video and on the second episode, when installing the way/generators I'm getting the "Mcrypt PHP extension required" error.

I thought the whole point of having Homestead was so that I didn't need to install things like this locally? Or have I missed the point entirely?

I feel like I'm going out of my mind just getting this all set up. I'm by no means a PHP newb but the install process of this hasn't been very straight forward for me so far.

Any ideas? (I'm in a Mac, and can view the larabook example 'welcome' page via the url)

Thanks all

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.