How to set php executable path php.validate.executablePath in vscode when php is set inside docker container?

后端 未结 13 1341
既然无缘
既然无缘 2021-01-30 08:47

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.

相关标签:
13条回答
  • 2021-01-30 09:45

    I simply used double forward slashes and it worked, like so: "php.validate.executablePath": "C:\xampp\php\php.exe",

    0 讨论(0)
提交回复
热议问题