php is not recognized as an internal command (in Windows)

后端 未结 2 1343
孤城傲影
孤城傲影 2020-12-16 16:25

I want to develop using a framework called Symfony but I do not have a Mac and I don\'t want to dual boot with Debian.

I tried virtual hosts via Virtual Box but it d

相关标签:
2条回答
  • 2020-12-16 16:58

    You'll have to add the directory in which the php executable is located to your "path" variable (I guess in your case that would be E:\logiciels\UwAmp\apache\php_5.2.11 ). In Windows, you can do that as described here: http://www.computerhope.com/issues/ch000549.htm

    Any directory you place in this path variable (they're separated by a semicolon) will be automatically used in, for example, a cmd shell.

    0 讨论(0)
  • 2020-12-16 17:08

    You need to add the path where the binary resides in to the PATH variable. You can do this on XP and Win 7 under the System -> User settings -> User variables

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