We help IT Professionals succeed at work.
Get Started

Simple Zend Framework Question

Mahdi007 asked
Last Modified: 2013-11-10
This aggravated me to the point that I let it alone for a few months, came back and still couldn't figure out what is going on.

ZEND will not, no matter what I attempt to do, find the include path files for the framework. I have many pear/pecl extensions installed - ZEND will run if I upload an individual set of framework files to the web directory - but then the zf command line tool fails. Anyway, the issue here is:

PHP Warning:  require_once(Zend/Application.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /path/to/httpdocs/mahdi/public/index.php on line 18

PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'Zend/Application.php' (include_path='/path/to/httpdocs/:.:/usr/share/pear/:/usr/share/zend/library/') in /path/to/httpdocs/mahdi/public/index.php on line 18

php.ini -> include_path=".:/usr/share/pear/:/usr/share/zend/library/"

# ls /usr/share/zend/library/Zend/Application.php | grep Application.php

Why would it say it doesn't exist, give me a file location and an include path that both obviously DO exist? Can't help but think I'm going crazy in a situation like this. Thanks.
Watch Question
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE