LaravelLaravl 5.7

Solved : Php Artisan Serve Not Working

Laravel 7.2 routing with route group auth guard check with prefix

Solved : Php Artisan Serve Not Working

Hello to all, welcome to therichpost.com. In this post, I am sharing how to solve Php Artisan Serve Not Working Problem?

php artisan serve not working

 

1. Here is the new command, you need to run:
php artisan serve

      to 

php -S localhost:8000 -t public/

 If have any query related this post, then please do comment below or ask questions.

Ajay Malhotra
the authorAjay Malhotra
Hello to all. Welcome to therichpost.com. Myself Ajay Malhotra and I am freelance full stack developer. I love coding. I know Wordpress, Core php, Angularjs, Angular 2, Angular 6, Angular 7, Angular 8, Angular 9, Angular 10 Nodejs, laravel, Codeigniter, Shopify, Squarespace, Jquery, Google Map Api, Vuejs, Reactjs, Bigcommerce etc.

4 Comments

  • Hello every one, here every person is sharing these kinds of familiarity, so it’s pleasant to read
    this web site, and I used to visit this weblog all the time.

  • i really want to know the difference between the two commands :
    php artisan serve
    and
    php -S localhost:8000 -t public/

    when i try the normal php artisan serve the page keeps on loading forever
    but when i try the other command my project launches perfectly
    tried to google but everybody says to use the second command but no one explains why or what is the problem may be ?!!!!
    can you please provide an answer ?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.