I am building a project using Laravel. It was working fine on localhost, but when I upload it to the server (the server has comodo ssl installed), I receive the following er
In my case, I need to enable mcrypt extension.
But first, check if you already have it:
$ sudo apt-get install -y mcrypt php5-mcrypt
Check if mcrypt module is loaded:
$ php -m | grep mcrypt
if nothing shows, is because is not loaded, but you already have installed above right? So do this:
$ php5enmod mcrypt
$ sudo service apache2 restart
Check again and you should see mcrypt instead of nothing. Thats a good sign, reload you app and go fix your next error ;)
$ php -m | grep mcrypt
mcrypt