PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting

后端 未结 7 2060
没有蜡笔的小新
没有蜡笔的小新 2020-12-24 05:34

I\'m running windows 10 fresh copy and I just installed visual studio code. I was trying to develop a PHP project using VS Code. But I\'m having trouble in setting up the en

7条回答
  •  独厮守ぢ
    2020-12-24 05:58

    For me it was important to delete the "php.executablePath" path from the VS code settings and leave only the path to PHP in the Path variable.

    When I had the Path variable together with php.executablePath, an irritating error still occurred (despite the fact that the path to php was correct).

提交回复
热议问题