title: How do I set my PHP executable path for PHP development in Visual Studio Code in WSL?
body: <p>I have tried every answer I have seen in Stack Overflow and Github issues and still can not get my PHP executable to work with VSCode. I have attached a screenshot displaying my settings.json for VSCode. I will also attach a screenshot of the location of the php file. I have no idea how to fix this error. Please, I need some assistance. I have been trying at this for the last two hours. I believe it has something to do with the WSL Ubuntu wrapper in VSCode, but I'm not sure. The way I got the paths for the executables is using the command
  <code>whereis php</code> in the ubuntu terminal</p>
  <p>I have also tried &quot;C:/php/php.exe&quot;
  And I even tried combinations using double forward slashes or backwards slashes. (These are all solutions I found in  <a href="https://github.com/Microsoft/vscode/issues/251" rel="nofollow noreferrer">https://github.com/Microsoft/vscode/issues/251</a> that worked for other devs).</p>
  <p><a href="https://i.stack.imgur.com/WAgN3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WAgN3.png" alt="setting.json" /></a>
  <a href="https://i.stack.imgur.com/dPnNN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dPnNN.png" alt="file location" /></a></p>