0

laravel output is blank

Once all the setup is done for Laravel, the output is giving white page in browser. How to display Laravel front page.

Linux Laravel Add a comment
christian
asked Apr 28 2017

Answer

0

At first rename the .env.example to .env alone.

Next you need to generate the key using below command,

#  php artisan key:generate

Update the generated key in .env file APP_KEY column and also in config/app.php file as shown below.

'key' => env('APP_KEY' , 'New key'),

Once its done restart the web server (httpd/nginx) to take effect.

Add a comment
jagannatharumugam
asked May 01 2017
edited Oct 05 2018
Post your Answer