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

后端 未结 7 2057
没有蜡笔的小新
没有蜡笔的小新 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-24 06:18

    This one also works

    1. Remove the "php.executablePath" line from the VS code settings.

    2. Then add the xampp php path to the System variables

    After that restart the Visual Studio Code

提交回复
热议问题