Why command “php artisan serve” not working

前端 未结 8 1916
醉梦人生
醉梦人生 2020-12-25 08:15

I started Laravel at this path:

C:\\Users\\Mad\\Work\\trunk\\product\\backend\\v1.2.1\\laravel

but it is not working, it is not starting. <

8条回答
  •  再見小時候
    2020-12-25 08:30

    Just wanted to add to Jayhuan's answer above:

    Laravel does the same thing behind the scenes, you can see the code here (look in serverCommand).

    So to serve locally you would do: php artisan serve --host mysite.com --port 8000

提交回复
热议问题