可能重复:
"php.exe"未被识别为内部或外部命令、可操作程序或批处理文件
我正在尝试使用WAMP在我的计算机上安装cakeHP。
我在尝试设置安装路径时遇到问题。以下是我所做的路径条目。
F:'ProgrammingPoint'wamp'bin'php'php5.4.3;F:'ProgrammingPoint'wamp'www'cake'app'Console;
分别用于PHP和cakeHP安装。然而,当我尝试蛋糕烘焙命令时:
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
您必须在php可执行文件所在的位置安装Cake php。
您的文件应该在F:'ProgrammingPoint'wamp'apache'php_5.2.11
…中(?(。。。。
请参阅此处。