How to run multiple Laravel projects at same time?

后端 未结 3 941

To run one laravel project we only need to type \"php artisan serve\". and it will be available on port 8000.

But sometimes we need to run multiple projects at the same

3条回答
  •  失恋的感觉
    2021-02-08 04:47

    First run your first laravel project blog as follows: Open your command prompt and go to your drive where your laravel project exist. And type php artisan serve

    C:\xampp\htdocs\blog>php artisan serve
    

    Now type http://localhost:8000 in browser and your blog project will run.

    Again open another command prompt and again go to your another laravel project bloganother

    C:\xampp\htdocs\bloganother>php artisan serve --port=8080
    

    Now go to your browser and type http://localhost:8080 in your browser your another project will also run.

    Thank you for reading this article. Hope your problem get solved.

    You can also get your solution from this link

提交回复
热议问题