Solved : Php Artisan Serve Not Working

·

,
Laravel 7.2 routing with route group auth guard check with prefix

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.

Comments

6 responses to “Solved : Php Artisan Serve Not Working”

  1. mega888 Avatar
    mega888

    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.

  2. Mina William Avatar
    Mina William

    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 ?

    1. Ajay Malhotra Avatar

      because some time port is busy or took time to come in command and if we write port(8000) then it cleary know the number and hit to single point only.

  3. patrick57 Avatar
    patrick57

    Could not open input file: artisan

    1. Ajay Malhotra Avatar

      Are you running artisan command in correct folder?

Leave a Reply

Your email address will not be published. Required fields are marked *

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