Visual Studio Code php & Apache

Can anyone tell me what settings and which to implement so I can run code? I’ve looked at the site as well as some other articles but I could not manage to run php code. I have xampp with Apache (php v5.6.35) the files are in the C:\xampp\htdocs.
PS
I have install Code Runner -PHP Debug-PHP Extension Pack.
I attach an image with the page that the IDE shows me with the php settings:

What is it that is - or is not - happening?

It shouldn’t matter whether you’re using Visual Studio or Notepad, so long and the resultant PHP code is valid.

Going by the image, it looks like there’s a problem finding Git. AFAIK, unlike some environments VS will stop if a dependency can’t be found where in other environments things will more or less “work”. The strictness can be frustrating in that it can make setup more difficult, but the benefit is that there is less chance of a bug escaping notice.

Anyway, make sure Git is installed and that the path and permissions are correct.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.