domain
---library
---public_ftp
---public_html
------application
------data
------index.php
everything was working fine. The library/Zend was out of web root. Then I decided to place the application and data folders and subfolders out of the web root, as well (the entire ZF).
domain
---application
---data
---library
---public_ftp
---public_html
------index.php
The problem now is that the Zend_ or Zend/ are not recognized even though the folders are listed in php.ini. I was able to resolve the problem by appending every Zend include or call with 'library/Zend' but who wants to do that with the entire framework.
So I put up this test code in public_html/index.php:
- Code: Select all
echo get_include_path(); //.:/usr/lib/php:/usr/local/lib/php:/usr/local/library/Zend
if (file_exists('Zend/Controller/Front.php')) {
echo '<p>Zend/Controller/Front.php does exist';
} else {
echo '<p>Zend/Controller/Front.php does NOT exist';
}
//Zend/Controller/Front.php does NOT exist
Do you have any idea why this happened and how I can remedy the problem?

