Why does not the main page of laravel 5?

After the setup is not the main page, and a list of directories. Use xampp. What could be the problem?bd58cd9e24294a2bb91c4cce65aa6075.PNG
September 19th 19 at 12:10
3 answers
September 19th 19 at 12:12
Solution
The root directory of the host should be ./public/
Thanks for the reply - Maurine commented on September 19th 19 at 12:15
September 19th 19 at 12:14
Use xampp. What could be the problem?

Apache for PHP development is not needed for three years (exactly as of 1 March, by the way)
PHP has a built-in webserver.
No need to complicate things.

Just type php artisan serve in the project directory.
I'm incredibly behind the times, your comment was a revelation for me. Tell me more about the development of without Apache or throw the reference to read - Maurine commented on September 19th 19 at 12:17
for small projects (less than a few hours) php.net/manual/ru/features.commandline.webserver.php
For something larger you can raise dev using vagrant with nginx - emmanuelle_Purdy commented on September 19th 19 at 12:20
Thank you!
Don't quite understand what the fundamental differences in terms of development between the local server and a dev. And why it is better the second option? - Missouri.Hoeg commented on September 19th 19 at 12:23
: because one person can have multiple projects (from different, or configured differently), or one project can do a few people (then need to configure the system only once, and when you change settings only so that I can restart the script). - emmanuelle_Purdy commented on September 19th 19 at 12:26
September 19th 19 at 12:16
It is obvious that DOCUMENT_ROOT is set incorrectly in the config of Apache because that directory even no index.php... Maybe that's why? Or if the file is by default the other, you have to add it de, in the config of Apache

Find more questions by tags LaravelPHP