Y
Y
ysaeredir2016-01-06 19:54:26
Laravel
ysaeredir, 2016-01-06 19:54:26

How to set up XAMPP under laravel 5.1?

localhost/laravel/ - Gives a directory of files. How can I configure apache to return an index page on this request.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrzej Wielski, 2016-01-06
@wielski

Laravel is focused on nginx
If you want Apache, drop the .htaccess file from the public folder to the root, and rename server.php to index.php
But this is a collective farm solution.

G
gassmonkey, 2016-01-06
@gassmonkey

On open-server , laravel starts up without problems. In addition, it is much more convenient than XAMPP.

A
Alexey Maksimenko, 2016-01-06
@ddrt

Specify the path to the public folder in httpd.conf . Either through .htaccess Or, or by moving the files from public to the root, and the files \ folders of the framework into a separate folder and changing the paths in the index.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question