Command php not found in Windows

前端 未结 3 1719
眼角桃花
眼角桃花 2021-01-24 01:40

I have installed xampp server in windows 7. I have already checked Browser its working.But I am trying to run the php -v command prompt. I receive the following error message.

3条回答
  •  时光取名叫无心
    2021-01-24 01:51

    Add the php folder to your path and restart cmd.

    Use this command from the command line (use the path to the php.exe, it is usually under c:\xampp\php):

    set PATH=%PATH%;C:\xampp\php
    

提交回复
热议问题