laravel中php artisan serve 命令报错 Command "serve" is not defined.

laravel中php artisan serve 命令报错 Command "serve" is not defined. 



原因是你使用的laravel版本中去掉了php artisan serve这个命令,只需将命令换成即可:

php -S localhost:8080 -t public/


最后编辑于:2023/04/07作者: 牛逼PHP

发表评论