可能重复:
‘php.exe’ is not recognized as an internal or external command, operable program or batch file
我正在尝试使用WAMP在我的计算机上安装cakePHP。
我在尝试设置安装路径时遇到问题。以下是我所做的路径条目。
F:\ProgrammingPoint\wamp\bin\php\php5.4.3;F:\ProgrammingPoint\wamp\www\cake\app\Console;
每个用于PHP和cakePHP安装。但是当我尝试蛋糕烘焙命令时:
F:\ProgrammingPoint\wamp\www\cake\app\Console cake bake
我收到以下错误。
'php' is not recognized as an internal or external command.
设定路径的输出为:
Path=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x8
6)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\windows\system32;C:
\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:
\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\O
penCL SDK\2.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Componen
ts\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Progr
am Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files
(x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Lenovo\Bl
uetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Program
Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC