VScode 套件 PHP Server 錯誤訊息 PHP not found
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
我的環境 env.
XAMPP版本: xampp-windows-x64-8.1.5-0
安裝位置: C:\xampp\php
VSCode版本: March 2022 (v1.66.2)
PHP Server v3.0.2
解決 solve
到Setting 修改參數:
檔案>>喜好設定>>設定>>搜尋 Phpserver
修改參數即可(依照安裝PHP的位置調整)
預設
c:\xampp\php\php.ini
c:\xampp\php\php.exe
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →