[Fri Jan 03 11:42:39 2014] [notice] Apache/2.2.25 (Win32) PHP/5.3.5 configured -- resuming normal operations
[Fri Jan 03 11:42:39 2014] [notice] Server built: Jul 10 2013 01:52:12
[Fri Jan 03 11:42:39 2014] [notice] Parent: Created child process 1320
[Fri Jan 03 11:42:39 2014] [notice] Child 1320: Child process is running
[Fri Jan 03 11:42:39 2014] [notice] Child 1320: Acquired the start mutex.
[Fri Jan 03 11:42:39 2014] [notice] Child 1320: Starting 64 worker threads.
[Fri Jan 03 11:42:39 2014] [notice] Child 1320: Starting thread to listen on port 80.
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.126.208] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 24
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.126.208] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 25
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.126.208] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 25
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.126.208] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 26
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.126.208] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 27
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.127.78] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 24
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.127.78] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 25
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.127.78] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 25
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.127.78] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 26
[Fri Jan 03 11:42:39 2014] [error] [client 10.159.127.78] PHP Notice: Undefined index: HTTP_HOST in D:\\wwwroot\\index.php on line 27
装的discuz x3.1 现在apache日志那里报错如上,24、25、26、27行报错在不断,一天生成日志1个G那么多!怎么解决呀!
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
-------------------------
引用第6楼我是驴友于2014-01-03 17:04发表的 回5楼服务器之家的帖子 :
谢谢!
是用了负载均衡出现这个错误的。
服务器环境win2003 Apache/2.2.25 (Win32) PHP/5.3.5
.......![]()
-------------------------
有点错误,重试下。
<?php
echo '<pre>';
print_r($_SERVER);
echo '</pre>';
-------------------------
帖子有敏感信息,删除了。测试程序里有HTTP_HOST,但是论坛里没有,很奇怪。
-------------------------
-------------------------
-------------------------
-------------------------
-------------------------
-------------------------
-------------------------