Mahdi007
asked on
Simple Zend Framework Question
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/Applicat ion.php) [<a href='function.require-onc e'>functio n.require- once</a>]: failed to open stream: No such file or directory in /path/to/httpdocs/mahdi/pu blic/index .php on line 18
PHP Fatal error: Â require_once() [<a href='function.require'>fu nction.req uire</a>]: Failed opening required 'Zend/Application.php' (include_path='/path/to/ht tpdocs/:.: /usr/share /pear/:/us r/share/ze nd/library /') in /path/to/httpdocs/mahdi/pu blic/index .php on line 18
php.ini -> include_path=".:/usr/share /pear/:/us r/share/ze nd/library /"
# ls /usr/share/zend/library/Ze nd/Applica tion.php | grep Application.php
/usr/share/zend/library/Ze nd/Applica tion.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.
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/Applicat
PHP Fatal error: Â require_once() [<a href='function.require'>fu
php.ini -> include_path=".:/usr/share
# ls /usr/share/zend/library/Ze
/usr/share/zend/library/Ze
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the refresh in debugging mankowitz.. I'm losing it. Was an open_basedir restriction, doing a manual include threw this error, correcting it fixed the problem. Embarrassing.. Literally 3 hours of my life I'll never get back.
ASKER
Obviously was a long day, even posted on an account I didn't even know existed. Thanks again ;)