繁体   English   中英

设置zend框架

[英]Setting up zend framework

我试图在我的netbeans上设置Zend框架。当我运行该应用程序时,出现以下错误:

Warning: require_once(Zend/Application.php) [function.require-once]: failed to open stream: No such file or directory in C:\Documents and Settings\maryb\Desktop\ZEND\ZendFrameworkQuickstart-20100208\public\index.php

和以下错误:

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Application.php' (include_path='C:\Documents and Settings\maryb\Desktop\ZEND\ZendFrameworkQuickstart-20100208\library;.;C:\xampp\php\PEAR') in C:\Documents and Settings\maryb\Desktop\ZEND\ZendFrameworkQuickstart-20100208\public\index.php on line 17

我该如何解决?

我认为您需要在所需路径中添加Zend库。 看一下projectfolder/public/index.php文件中的以下代码:

// Ensure library/ is on include_path
set_include_path(implode(PATH_SEPARATOR, array(
    realpath(APPLICATION_PATH . '/../library'),
    get_include_path(),
)));

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM