简体   繁体   中英

VSCode cannot find php executable

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM