homestead搭建laravel環境後,訪問報“no input file specified”
1、各種檢查都沒毛病
2、看了下nginx 日誌如下圖:
“ /home/vagrant/code/public/index.php (No such file or directory)”
3、看了下Homestead.yaml文件
Homestead.yaml文件默認是
/home/vagrant/code/public
改成
/home/vagrant/code/自己的項目文件夾/public
問題解決