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.
I had the same problem but found the fix here.
In Windows: