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

后端 未结 8 1417
情深已故
情深已故 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:00

    You need to add C:\xampp\php to your PATH Environment Variable, Only after then you would be able to execute php command line from outside php_home.

提交回复
热议问题