Trying to set up Laravel and keep getting hit with this error. I installed mcrypt through brew and it is located in /usr/local/Cellar. Any thoughts? .. It’s not showing up in terminal command php -m either, if that matters. I’m running Mountaion Lion with macs native web server.
Share
You need to enable it in your
php.inifile as well and probably restart Apache.In
php.iniyou will find;mcrypt.soand remove the;from it.Or, if it’s not in there, just add
mcrypt.sosomewhere.Also the salt option has been deprecated as of PHP 7.0.0. It is now preferred to simply use the salt that is generated by default.