Vincec's Dimension

在 VS Code 中配置 php

Word count: 65 / Reading time: 1 min
2018/07/03 Share

XAMPP

安装 XAMPP 大礼包

PHP extensions

配置 php.validate.executablePath

Windows

1
2
3
4
5
{
"php.validate.executablePath": "C:/xampp/php/php.exe"
//"php.executablePath": "C:/xampp/php/php.exe"
//"php.executablePath": "C:\\xampp\\php\\php.exe"
}

1
2
3
4
Linux and macOS
{
"php.validate.executablePath": "/usr/bin/php"
}

Reference

CATALOG
  1. 1. XAMPP
  2. 2. PHP extensions
  3. 3. 配置 php.validate.executablePath
  4. 4. Reference