php - Setting up zend framework
371
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?
Answer
Solution:
I think you need to add Zend Library in the required path. Have a look at following code in your
projectfolder/public/index.php
file: