I installed a new Laravel instance, using version 5.8. Along the way, I found out that I can't serve the project using the normal Laravel php artisan serve
command.
After some research with lots of trial and error, I came across this answer on StackOverflow that helped me with this method php -S localhost:8000 -t public/
with which I followed to change the port
to port 9000,
and it served the project perfectly.
Now my question is how can I go about getting the artisan command to be the default command to serve and rum my Laravel 5.8 on Windows just like before? I don't know anything about configuring Laravel core commands.
I tried this command.
php -S 127.0.0.1:9000 -t public/
after running this its works fine.
and also php artisan serve
command works fine.
hope it will help.