0

I'm using VSCode to update an internal/hobbyist website that uses PHP. I don't have a php executable on the computer I am using to do the work (and I don't want to add one either), and anyway the website itself is going to be deployed on another computer. But when I go to edit a php file, I get this popup:

enter image description here

Of course in the PHP settings the path to the executable is blank.

enter image description here

I think that this popup only occurs the first time that I edit a file after loading the workspace. But I don't want to see it ever.

Won't someone rid me of this turbulent popup1?

1. A thinly veiled attempt at historical humor

Peter M
  • 7,309
  • 3
  • 50
  • 91

1 Answers1

0

I would encapsulate the above code in a try catch

try
{
[above code]
}
catch
{
//do nothing
}}