Zend framework apache2 error.log中的Zend require_once错误

Zend framework apache2 error.log中的Zend require_once错误,zend-framework,googlebot,Zend Framework,Googlebot,我注意到apache2 error.log中存在一些问题。我的服务器收到来自ip地址66.249.72.182、66.249.78.76(googlebot???)和/var/log/apache2/error.log的请求我有以下记录: [error] [client 66.249.72.182] PHP Fatal error: require_once(): Failed opening required 'Zend/Cloud/Infrastructure/Instance.php'

我注意到apache2 error.log中存在一些问题。我的服务器收到来自ip地址66.249.72.182、66.249.78.76(googlebot???)和/var/log/apache2/error.log的请求我有以下记录:

[error] [client 66.249.72.182] PHP Fatal error:  require_once(): Failed opening  required 'Zend/Cloud/Infrastructure/Instance.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/xxxx.com/library/Zend/Cloud/Infrastructure/InstanceList.php on line 10
[error] [client 66.249.72.182] PHP Warning:  require_once(Zend/Gdata/Extension.php): failed to open stream: No such file or directory in /var/www/xxxx.com/library/Zend/Gdata/Photos/Extension/PhotoId.php on line 27
[error] [client 66.249.78.76] PHP Warning:  require_once(Zend/Gdata/Extension.php): failed to open stream: No such file or directory in /var/www/xxxx.com/library/Zend/Gdata/Photos/Extension/NumPhotosRemaining.php on line 27
等等。我想请求所有文件都在/library/Zend/*中。我不明白怎么做。在.htaccess中:

RewriteRule ^.*$ index.php [NC,L]
在index.php中:

set_include_path(implode(PATH_SEPARATOR, array(
   realpath(APPLICATION_PATH . '/../library'),
   get_include_path(),
)));

我不明白问题出在哪里。谢谢你的帮助

检查您的access.log,查看它们是如何被准确访问的。可能是某个虚拟主机使库路径可供公众访问。显然,您的库和应用程序目录应该位于相对于DocumentRoot的上一级,目录索引应该关闭。

Mr.Key,谢谢您的回答
tail-100f access.log | grep 66.249.78.76
-返回空
tail-100f error.log | grep 66.249.78.76
-返回100最后一个错误,示例
[error][client 66.249.72.182]PHP致命错误:require_once():打开必需的'Zend/Cloud/Infrastructure/Instance.PHP
(include_path=':/usr/share/PHP:/usr/share/pear')在第10行的/var/www/xxxx.com/library/Zend/Cloud/Infrastructure/InstanceList.php中,问题得到了解决。一个虚拟主机正在使路径可访问。