PHP is not recognized as an internal or external command in command prompt

后端 未结 8 1391
情深已故
情深已故 2020-11-29 19:55

I got the following error when I run a command with php

C:\\xampp\\htdocs>php
\'php\' is not recognized as an internal or external command,
o         


        
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-29 20:09

    You just need to a add the path of your PHP file. In case you are using wamp or have not installed it on the C drive.

提交回复
热议问题