Ssh in your vm then do:
sudo apt-get install php5-mcrypt
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
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 larabook.app:8000 url)
Thanks all
Please or to participate in this conversation.