問題:
How do we set a custom port for test server?我們如何爲測試服務器設置自定義端口?
Normally when we do通常當我們做
php artisan serve
the folder gets served as :該文件夾被用作:
localhost:8000
How do could we access one folder as:我們如何訪問一個文件夾:
localhost:8080
I want to access two different development sites on my localhost.我想在我的本地主機上訪問兩個不同的開發站點。
解決方案:
參考一: https://en.stackoom.com/question/1DUEW參考二: https://stackoom.com/question/1DUEW