安装Zend 1.11

时间:2012-08-27 18:36:53

标签: php zend-framework

我目前有PHP 5.4设置,我们可以用它安装Zend 1.11还是我们需要去Zend 2(没有遇到过解释WAMP上Zend 2设置的体面教程)

我尝试安装1.11,但在使用zf CLI时发出错误

***************************** ZF ERROR ********************************
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.

1 个答案:

答案 0 :(得分:0)

您绝对可以使用PHP 5.4运行Zend Framework 1.11。

您得到的错误是因为您尝试在命令行中使用“zf”,但PHP无法找到Zend Framework的加载位置。为了解决这个问题,请在php.ini文件中找到include_path指令,并更新路径以包含Zend Framework的安装位置。

完成此操作后,请不要忘记重新启动Web服务器!

相关问题