PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting
Solución Windows 10 – XAMPP
- File – Preferences – Settings – User Settings – Options: Abrir settings.json
- Agregar el siguiente código:
{
"php.validate.executablePath": "C:\\xampp\\php\\php.exe",
"php.executablePath": "C:\\xampp\\php\\php.exe"
}
Solución Windows 10 -WAMP
{
"php.validate.executablePath": "C:\\wamp64\\bin\\php\\php7.0.4\\php.exe",
"php.executablePath": "C:\\wamp64\\bin\\php\\php7.0.4\\php.exe"
}