我已经通过 putty 终端在 ubuntu 服务器上上传了我的 Laravel 项目。 Composer 安装在服务器机器上,但是当我运行任何 artisan 命令时,它会出现错误。
$ php artisan serve
ErrorException
require(/var/www/html/healthapi.fynity.in/routes/api/v1/api.php): failed to open stream: No such file or directory
api.php
已经存在,但我不知道为什么会出现此错误。尝试了谷歌的所有解决方案。