'“php.exe”' is not recognized as an internal or external command, operable program or batch file

前端 未结 2 772
青春惊慌失措
青春惊慌失措 2020-12-22 06:24

When I run the command

D:\\STUDIES\\xampp\\htdocs\\yii\\trackstar\\protected>yiic migrate create create_project_table

in cmd

相关标签:
2条回答
  • 2020-12-22 06:48

    You also might need to add ".PHP" to your PATHEXT environment variable. See http://php.net/manual/en/install.windows.commandline.php

    0 讨论(0)
  • 2020-12-22 06:51

    set environment variable path like follow....

    path :=>...;D:\STUDIES\xampp\php;D:\STUDIES\xampp\yii\yiiframework;
    

    or set proper path (based on your dir structure) like above....

    0 讨论(0)
提交回复
热议问题