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

后端 未结 2 1357
孤城傲影
孤城傲影 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.

提交回复
热议问题