0
I cannot run my php code in visual studio code.How i can solve my problem?
11 Answers
+ 1
Martin Taylor But it always shows to install php when it is not install and you are trying to run it. I think I committed a mistake to note it because I too faced similar issues
And the kite problem. Btw thanks for correcting
0
What error you are getting?
0
When i run my php code,in output console there is a message where written "php is not recognized as an internal or external command"
0
Have you used the extension for php?
0
Yes i use php debug,php serverphp intelephense
0
Thank you so much.i will try it.
0
Yes it always redirects to json file else in Console it shows to handle imports
0
Sumaia Binthe Jahangir just install xampp and run apache PHP server will automatically run.
Or another solution is that just copy the path of your PHP where you install it and then add it to the path in the environment variable in the window. "PHP is not recognized" error will solve.