Step 1
下載整個 Wagon 專案包
Step 2
將下載回來的解壓縮到之後要當作伺服器資料夾的目錄

Step 3
啟動 wagon/cmder/Cmder.exe

Cmder 會自動設好相關參數
cmder 放置於,wagon\cmder\Cmder.exe,點擊兩次即可啟動,啟動時會自動載入獨立環境變數,並把當前位置設定在 wagon\uwamp\www,包括:
- PHP 7.0.3:wagon\uwamp\bin\php\php-7.0.3\php.exe
- Composer:wagon\composer\composer.bat
- Composer Packages:wagon\composer\verdor\bin
- Git:wagon\git\bin
Step 4
啟動 wagon\uwamp\UwAmp.exe

UwAmp 放置於 wagon\uwamp\UwAmp.exe,點擊兩次即可啟動,預設設定如下:
- Apache 已啟用 rewrite module、Document Root 設定在 wagon\uwamp\www\default、port 改設定為 8000
- MySQL port 改設定為 33060,可用 root/root 登入
- adminer 位置為 http://localhost:8000/adminer
狀況 A
Uwamp has detected that an instance of Apache from another software is running
Close this instance of Apache before running Uwamp
Close this instance of Apache before running Uwamp
Step 1
停止其他 apache 服務



狀況 B
AH02291: Cannot access directory ‘D:/wagon/uwamp/bin/apache/logs/’ for main error log
Step 1
在 /wagon/uwamp/bin/apache/ 下建立 logs 資料夾


Step 2
重新啟動 apache 服務


Step 5
開啟瀏覽器輸入 localhost:8000 檢查目前為止的步驟是否成功

Step 6
切換回 Cmder

Step 7
進入 default 資料夾
cd default
Step 8
建立專案資料夾
假設專案名稱為 [ LaravelTest ]
laravel new LaravelTest
建立專案資料夾會稍微花上一點時間
Step 9
設定 UwAMP
切換回 UwAMP
Configuration > Apache > Apache Config 右邊的 Icon 按一下
Step 10
搜尋關鍵字「IfModule dir_module」


Step 11
在後面加上 server.php

儲存後關閉 Notepad
Step 12
重新啟動 apache 服務
切換回 UwAMP
Stop > 下箭頭 > Start Apache
Step 13
檢視專案網站