So I started a new project and I downloaded clone of it, I did composer install & update. And I do php artisan serve to start, but there is a error says in server.php :
if ($uri !== '/' && file_exists(__DIR__.'/public_html'.$uri)) {
return false;
}
require_once __DIR__.'/public_html/index.php';
Warning: require_once(C:\Users\eless\PhpstormProjects\vigil/public_html/index.php): failed to open stream: No such file or directory in C:\Users\eless\PhpstormProjects\vigil\server.php on line 21
Fatal error: require_once(): Failed opening required 'C:\Users\eless\PhpstormProjects\vigil/public_html/index.php' (include_path='C:\xampp\php\PEAR') in C:\Users\eless\PhpstormProjects\vigil\server.php on line 21
then I change it to /public instead of /public_html then its just a white screen and made php artisan migration(there was some errors about table but) says
Whoops, looks like something went wrong
project is not visible. What I should do? Is anyone can help?
php artisan key:gen
and your storage permissions may need altering. - Option