Home > Backend Development > PHP Tutorial > win7下zend framework项目创建有关问题

win7下zend framework项目创建有关问题

WBOY
Release: 2016-06-13 13:34:11
Original
831 people have browsed it

win7下zend framework项目创建问题
cmd:php.exe不是内部或外部命令,也不是可运行的程序

1:首先我环境变量把路径引入了的 Path:D:\myenv\apache\bin;D:\myenv\mysql\bin;D:\myenv\ZendFramework\bin
为了验证路径正确,apache和mysql都能在cmd中启动
2:在cmd命令行:zf show version 就提示:php.exe不是内部或外部命令,也不是可运行的程序

因为zf项目的创建与php环境没关系的(不确定),之后我又按照http://www.cnblogs.com/zsz417/archive/2011/09/09/2172768.html把PHP环境也配置了一下,结果还是一样,

我机子的情况:win7 32位,apache2.2.21,php5.2.17, mysql5.0, zend framework1.11.11,


问题到底出在哪里, 是不是什么细节没注意? 望高手指点、、、

------解决方案--------------------
把 php.exe 所在的目录置于 path 中

看你的样子,大概是 D:\myenv\php

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template