Linux has a case sensitive file system, the path send should be:
/usr/share/php/libzend-framework-php/Zend

BTW, we have an ini include with the zend-framework package in Ubuntu:
/etc/php5/conf.d/zend-framework.ini

Just uncomment the line in there and it will be included.

Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com


On 02/04/2010 11:02 AM, sathya.zend wrote:
Dear group,
I am not sure if this forum is a suitable place for this question. If not
please guide a correct place.

I have installed php/mysql with apache2 as per the instruction of installing
php. And i am able to install Drupal,osc and other open source without any
errors.

But I am unable to make a zend frame work working. I have used zf tools to
create the project. The project folder with MVC is getting created. But when
I code the following simple code, it showing me error.

Code:
require_once 'library/Zend/Application.php';

$application = new Zend_Application(
     APPLICATION_ENV,
     APPLICATION_PATH . '/configs/application.ini'
);

$application->bootstrap()->run();
Warning: require_once(Zend/Loader/Autoloader.php) [function.require-once]:
failed to open stream: No such file or directory in
/var/www/works/zend/social/testbox/library/Zend/Application.php on line 80

Fatal error: require_once() [function.require]: Failed opening required
'Zend/Loader/Autoloader.php'
(include_path='.:/usr/share/php5:/usr/share/pear:/usr/share/php/libzend-framework-php/zend')
in /var/www/works/zend/social/testbox/library/Zend/Application.php on line
80


I have changed /usr/share/php5/.ini and also usr/share/php/ with
include_path. But yet I can not run a "hello world" with zend. Can some one
help me with installation with simple "hello world" in it?

Reply via email to