0

I cannot run my php code in visual studio code.How i can solve my problem?

12th Sep 2021, 9:26 AM
Sumaia Binthe Jahangir
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
12th Sep 2021, 1:58 PM
Atul [Inactive]
0
What error you are getting?
12th Sep 2021, 9:30 AM
Atul [Inactive]
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"
12th Sep 2021, 9:57 AM
Sumaia Binthe Jahangir
0
Have you used the extension for php?
12th Sep 2021, 10:01 AM
Atul [Inactive]
0
Yes i use php debug,php serverphp intelephense
12th Sep 2021, 10:08 AM
Sumaia Binthe Jahangir
0
Thank you so much.i will try it.
12th Sep 2021, 11:51 AM
Sumaia Binthe Jahangir
0
Yes it always redirects to json file else in Console it shows to handle imports
12th Sep 2021, 3:26 PM
Atul [Inactive]
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.
14th Sep 2021, 6:25 AM
Maninder $ingh
Maninder $ingh - avatar