PHP: Could not open required file that exists
I am trying to include a file Zend_Service_Amazon_S3
using
require_once 'Zend/Service/Amazon/S3.php';
I've also included in the include path the directory where the entire Zend library is located, and the installation is inside Zend Server CE (which includes Zend Framework by default). However, no matter what I try, I get the following for my problems:
Fatal error: require_once() [http://php.net/function.require]: Failed opening required 'Zend/Server/Amazon/S3.php' (include_path='/usr/local/zend/apache2/htdocs:/usr/local/zend/apache2/htdocs/app/:.:/usr/local/zend/share/ZendFramework/library:/usr/local/zend/share/pear:/usr/local/zend/apache2/htdocs/app/vendors') in /usr/local/zend/apache2/htdocs/app/models/item.php on line 3
Zend / Service / Amazon / S3.php is under the paths:
- / Usr / local / zend / share / zendframework / library
- / Usr / local / zend / apache2 / htdocs / app / vendors
source to share