How to fix PHP error on Visual Studio Code| PHP executable not found | Cannot validate since no PHP

preview_player
Показать описание
Are you getting the below errors when using PHP file on your Visual Studio code?

Error #1
Source: PHP Intellisense(Extension)

Error #2
Source: PHP Language Features(Extension)

Make sure that you have installed XAMPP on your machine. If not install it. If you install the extensions PHP Intellisense and PHP Debug then you most probably get the above error on visual studio code.

All you need to do is add the executable in the Open settings in visual studio code. Just follow the steps mentioned in the above video to fix the PHP error on visual studio code

********** Tutorial Playlists **********

****** Contact me ********

******* Books written by me ********

******* Productivity tool *********

******* Gear Used To Shoot This Video ******
_Audio & Microphone

********Learning partner********

Рекомендации по теме
Комментарии
Автор

Great video - it's fixed! So now, what will I be able to do with VSC now that it's fixed?

alexanderwurmbrand
Автор

probado hace una semana, me funciono genial thank so much!

diseno
Автор

Thank you, only this method work correctly

zangarmeirbekov
Автор

hello and thank you! the error does not exists any more.
the proble is that phpfmt does not do anything..
Can you help me please?

mulag
Автор

Thanks in a million my man. You've made my day.

johng
Автор

what about php executables with vs code on windows 10 but you have php using the wsl?

JD-njfp
Автор

Great video. Thank you very much Amardindaz!

FONO
Автор

Excellent tip presented in this video. I appreciate that it helped me a lot in the configuration with VSCode. I'm used to using PHPStorm and by necessity I'm using VSCode. Congratulations on passing on your knowledge.

edelcio.munizwebstudiodesi
Автор

Worked. But now you need to go to settings, type 'executable' in search and click the following bottom to "edit the settings.JSON"

caterpilar
Автор

Bundles of thanks. You saved my lot of time.

jahanzaibhassan
Автор

I use MAMP. I can't find php.exe on my MAMP folder, can you help me pls

savirazaria
Автор

it worked, thanks for your help its really useful

zahidhanafi
Автор

i dont have Xamp inm my PC...so what can i do?

adaseher
Автор

thank you so much brother. it helped me greatly

rahmatullahanik
Автор

Thanks dude 👍🏾👍🏾 hello from indonesia 👋🏼

Pocoloco
Автор

Muy buen video bro toma mi humilde like wapo

anuaralejandrohernandezdel
Автор

Obrigado você também salvou minha vida!

fernandoandrade
Автор

What to do in case of Ubuntu??
Please help??

UmeshKumar-zczc
Автор

it worked perfectly. thanks you a lot!

AxlSixx
Автор

what if I just dont want to have local server installed ?! How to get rid of that error

peterpixo