1

I orginally did not have php installed when I got vs code. Therefore I installed the PHP IntelliSense extension and installed PHP. VS Code could still not locate PHP so I realized I had to change the php.validate.executablePath in VS Code. Which I did and I changed it to the php.exe location. However it still does not work. Can someone please give me some insight as to why or a resolution. The file path is correct in VSCode but still does not work. Assistance would be appreciated... see screen shot.

Img of VSCode and File Explorer

1 Answer 1

1

I made a silly mistake... I just had to add the same exact extention to the php.executablePath and now it works perfectly fine. See screenshot...

Resolution Picture

Sign up to request clarification or add additional context in comments.

4 Comments

As the message box in the first screenshot suggest you to fix the problem.
@axiac not sure what you mean.
In the image you attached to the question, VSCode clearly tells you in the notification window to set php.executablePath with the path of the PHP interpreter. The answer is in the question.
Yes, I saw that, as mentioned in the answer above. Just clarifying that the resolution was found. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.