首頁  >  問答  >  主體

Laravel 計畫沒有啟動

美好的一天,我對Laravel 完全陌生,我已經使用XAMMP 和Composer 在我的Windows PC 上成功安裝了Laravel-9,安裝成功並且一切正常,但是當我關閉電腦系統時,後來想要啟動項目,我啟動了XAMPP並在瀏覽器的URL欄中輸入http://127.0.0.1:8000,但項目沒有啟動。請問我該怎麼辦。

我嘗試過運行

artisan serve

在我的終端機中,但仍無法正常工作,請幫忙

P粉295616170P粉295616170371 天前585

全部回覆(1)我來回復

  • P粉022140576

    P粉0221405762023-09-15 11:36:50

    I have been able to resolve it, the mistake I have been making for couple of hours has been that after running php artisan serve command, it gives me the port 127.0.0.1:8000, I used CTRL+C to copy, but instead of pressing the command once, I pressed twice which the first time copied and the second time stopped the serve. Thanks to everyone who responded to me.

    回覆
    0
  • 取消回覆