m使用wamp和zend框架。首先我安裝了wamp localhost,然後運行正常。 已下載Zend框架。 在windows的環境變量中增加了php路徑,zend庫路徑。 啓用重寫模塊,並在php.ini中設置包含路徑 ,我在phpinfo文件中得到正確。 在此之後米試圖在控制檯上此命令後,執行zend framework zf命令不起作用
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"
感謝UR提前幫助。
thnks for your help。 – 2012-01-28 13:21:36
不用擔心; --D,它工作嗎? – dkcwd 2012-01-28 13:24:23
只是一個問題,我沒有Zend服務器。我只有Zend Framework和zf.bat文件路徑被添加到環境變量中,但它仍然會給出錯誤。我早些時候安裝了Zend Server,但刪除了之後是否需要安裝Zend Server? coz m遵循Zend Framework初學者指南中的說明n他們已經在命令行中請求zend框架 – 2012-01-28 13:27:44