S
S
salo22015-03-01 12:09:20
Laravel
salo2, 2015-03-01 12:09:20

Why is laravel 5 homepage not working?

After installation, not the main page opens, but a list of directories. I am using xampp. What could be the problem?bd58cd9e24294a2bb91c4cce65aa6075.PNG

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Ukolov, 2015-03-01
@salo2

The root directory of the host should be ./public/

O
OnYourLips, 2015-03-01
@OnYourLips

I am using xampp. What could be the problem?

Apache for development in PHP has not been needed for three years (exactly since March 1, by the way)
PHP has a built-in web server.
You don't need to complicate things.
Just type php artisan serve in the project directory.

D
Dmitry, 2015-03-01
@thewind

Obviously, DOCUMENT_ROOT is incorrectly set in the Apache config, because this directory does not even have index.php ... Maybe that's why? Or if the file is different by default, then you need to add it there, to the Apache config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question