Whoops, looks like something went wrong. Laravel 5.0

I installed Laravel 5.0 properly by cloning in git, and composer install, when I ran it to browser http://localhost/laravel/public/, it says

"Whoops, looks like something went wrong."

I did not make any changes after composer install.

Update after copy the env.example to .env this is result

RuntimeException in compiled.php line 5599: OpenSSL extension is required.


The logs are located in storage directory. If you want laravel to display the error for you rather than the cryptic 'Whoops' message, copy the .env.example to .env and make sure APP_ENV=local is in there. It should then show you the detailed error messaging.


This is happening because there is a field in .env file named, APP_KEY, which is blank now, we need some random key for this variable.

Follow these steps to get rid of this problem.

  1. Rename .env.example to .env

  2. Go to your root directory in your command prompt (If you are using windows)/terminal (If you are using MAC or LINUX) where you have installed laravel project/files and run following command

    php artisan key:generate

and then run your project. It's all done.