Answer the question
In order to leave comments, you need to log in
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
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.
On open-server , laravel starts up without problems. In addition, it is much more convenient than XAMPP.
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 questionAsk a Question
731 491 924 answers to any question