Php 包括Zend框架不起作用

Php 包括Zend框架不起作用,php,zend-framework,Php,Zend Framework,我试图包括Zend框架,但我一直遇到这个错误 Warning: require_once(Zend/Json.php) [function.require-once]: failed to open stream: No such file or directory in /usr/www/users/eyelogicy/zone.eyelogic.co.za/weskom/form/classes/ZendFramework/Zend/Json/Decoder.php on line 25

我试图包括Zend框架,但我一直遇到这个错误

Warning: require_once(Zend/Json.php) [function.require-once]: failed to open stream: No such file or directory in /usr/www/users/eyelogicy/zone.eyelogic.co.za/weskom/form/classes/ZendFramework/Zend/Json/Decoder.php on line 25
下面是我用来包含框架的PHP代码

set_include_path('classes/ZendFramework' . PATH_SEPARATOR . get_include_path());
require_once 'Zend/Json/Decoder.php';
有什么想法吗


先走一步

尝试包含路径的绝对路径

:

为了提高类加载速度,您可以做一个简单的优化,就是仔细注意include_路径。特别是,您应该做四件事:使用绝对路径(或相对于绝对路径的路径),减少您定义的include路径的数量,尽早让Zend Framework include_路径,并且只在include_路径的末尾包含当前目录路径