I received a project from my client. I tried to install it in my local machine using php artisan serve
command and I found below error
After searching in Google I found this question. Then I found that there is no public folder in my project directory.
Is there any specific reason to delete this public folder ? or it is left accidentally ?
I changed
chdir($this->laravel->publicPath());
in vendor/laravel/framework/src/Illuminate/Foundation/Console/ServeCommand.php To :
chdir('/');
as per this question. After that I am getting a blank white page while I am running my project using php artisan serve
.
What is the solution ?