【发布时间】:2012-01-28 12:36:01
【问题描述】:
m 使用 wamp 和 zend 框架。首先,我安装了 wamp localhost,然后工作正常。 下载 Zend 框架。 windows环境变量中添加php路径、zend库路径。 启用重写模块并在 php.ini 中设置包含路径 我在 phpinfo 文件中得到了正确的结果。 在这之后我试图执行
zf create project FirstProject
在控制台上执行此命令后出现错误
In order to run the zf command, you need to ensure that Zend Framework
is inside your include_path. There are a variety of ways that you can
ensure that this zf command line tool knows where the Zend Framework
library is on your system, but not all of them can be described here.
The easiest way to get the zf command running is to give it the include
path via an environment variable ZEND_TOOL_INCLUDE_PATH or
ZEND_TOOL_INCLUDE_PATH_PREPEND with the proper include path to use,
then run the command "zf --setup". This command is designed to create
a storage location for your user, as well as create the zf.ini file
that the zf command will consult in order to run properly on your
system.
To change the setup of this tool, run: "zf --setup"
提前感谢您的帮助。
【问题讨论】:
标签: zend-framework wamp