The requested resource / was not found on this server PHP
I was missing index.php
in the root folder.
This error also occurs when you have a path with the same name as a directory in the public folder:
Definition of path in the file routes.php
Route::get('Glaciares',function(){
return view('Principal.Glaciares.Acerca');
});
Public folder
I got the same problem which occurred by running the php -S localhost:8002
in the wrong directory.
Project/src/
-> caused the error
Project/src/public
-> Solved