php - Setting up zend framework


I'm trying to set up Zend framework on my netbeans.When I run the application I get the following error:

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

and the following error:

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

How can I fix it?




I think you need to add Zend Library in the required path. Have a look at following code in yourprojectfolder/public/index.php file:

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

People are also looking for solutions to the problem: php - mysqli_fetch_array returning only one result


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.