无法在 Windows 8 上的 WAMP 上运行 PHP CLI [英] Cannot run PHP CLI on WAMP on Windows 8

查看:32
本文介绍了无法在 Windows 8 上的 WAMP 上运行 PHP CLI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经尝试了几个小时我得到以下错误

I have been trying on this for hours i Get the below error

'php' 不被识别为内部或外部命令,可运行的程序或批处理文件.

我已经完成的步骤1- 我已经添加到 Windows 环境变量 C:\wamp\bin\php\php5.3.13;2-重新安装 wamp 2 次3-Apache和php错误日志干净

Steps i have done 1- I have added to Windows Environement variables C:\wamp\bin\php\php5.3.13; 2-re-installed wamp 2 times 3-Apache and php error log is clean

我有以下配置

  1. Windows 8 64 位
  2. Apache 2.2
  3. PHP 5.3.13

推荐答案

似乎 php-cli.exe 不随 WAMP 一起出现,我安装了 XAMPP 并且 CLI 完美运行

seems that php-cli.exe dosent come along with WAMP, I installed XAMPP instead and CLI worked perfectly

这篇关于无法在 Windows 8 上的 WAMP 上运行 PHP CLI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆