‘php.exe’ is not recognized as an internal or external command, operable program or batch file

前端 未结 10 1286
后悔当初
后悔当初 2020-11-29 08:24

‘php.exe’ is not recognized as an internal or external command, operable program or batch file.

Why does that error occur even though

10条回答
  •  臣服心动
    2020-11-29 08:34

    My case am Using Bitnami Ruby Stack apache Web server ,

    1. Pressed Windows key + Pause/Break Button
    2. Clicked advanced system settings
    3. Click Environment Variables
    4. Under System variables > edit PATH variable by adding C:\Bitnami\rubystack-1.9.3-24\php
    5. Click Ok to close the Environment Variable window
    6. Close your command prompt if open

      *(Proceed to 7. to confirm if php is installed)

    7. Press Windows Key + R button to open your cmd
    8. Type php -v to view your php version Confirm installed php version

提交回复
热议问题