I have a development environment based in docker.
Everytime that I open VSCode I get this message:
Cannot validate since no PHP executable is set.
Download PHP, in my case, I downloaded from here: http://windows.php.net/download/
Copy and paste the files to a location on your computer, and set the path:
"php.validate.executablePath": "C:/php/php.exe"