What is the PHP variable path for Windows 10 and VS studio code?

I’m trying to use extension in VS studio code, but I see errors for PHP install path. Where is php.exe located ?

Similar problem. Trying to write a php file but getting an error that says: Cannot validate since a PHP installation could not be found. Use the setting ‘php.validate.executablePath’ to configure the PHP executable. What is the default path? installed on Windows10. Thank you

It took a bit of digging because the app was installed DEEP in user/appdata. The path is: C:\Users\jim\AppData\Local\Programs\Local\resources\extraResources\lightning-services\php-7.3.5+10\bin\win64

that doesn’t work for me, path is not the same ;(

I tried this:

C:\Program Files (x86)\Local\resources\extraResources\lightning-services\php-7.3.5+10\bin\win64\php.exe

And this:

C:\Program Files (x86)\Local\resources\extraResources\lightning-services\php-7.3.5+10\bin\win64

in the Json pop up

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