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.

christian
asked Apr 27, 2017
1 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.

View More
jagannatharumugam
answered May 1, 2017
Your Answer
||||
x
 
100:0