sublime-laravelgenerator
sublime-laravelgenerator copied to clipboard
"Mcrypt PHP extension required." error on Vagrant VM.
I'm trying to start a new Laravel project on a Vagrant VM but this error keeps showing and I think that this is because the mcrypt is not installed on the host machine.
As I am on a Mac, I already have PHP installed on the default php_path "/usr/bin/php", but is it possible to use the one from the VM so I do not need to install Mcrypt on my host machine? Or will I have to install it anyways?
Thanks
I had the same issue, and wonder if you already solved it? I also had a vagrant VM, and was trying to start a new Laravel project, but it says "Mcrypt PHP extension required." Do we need to put the path in the bashfile?
@liusashmily Nope. Not yet.
Okay, here is how we solved it, just in case some will have the same issue. I have homebrew installed, and here are the command lines I used for fixing it: brew tap homebrew/dupes brew tap homebrew/versions brew tap homebrew/homebrew-php xcode-select --install brew install php brew install php56-mcrypt
Yeah. So I do have to install it on the host machine.