duandu2980 2012-09-05 13:38
浏览 40
已采纳

Apache致命错误

Following fatal error we are getting in apache errorlog. So IO operation increased and log file size is increasing. We dont know how we can findout and fix it?. Anyone knows pls share the details for our references.

Recently Upgraded Version : PHP ver from 5.2.17 to 5.3.14 after upgradation only following error we are getting, previously we didnt get this issue.

[Wed Sep 05 06:41:20 2012] [error] [client 80.12.96.14] PHP Fatal error: Cannot redeclare DomainNameInfo() (previously declared in /home/rackapps/conflg/ltnit.lg4:261) in /home/rackapps/lgconf/ltnit.lg4 on line 515, referer: http://in.mc1935.mail.yahoo.com/mc/welcome?.gx=1&.tm=1346806375&.rand=8k3tjpq0fmk8b

Note : Actually its a included files. We cant able to findout the landing php file. Because in that file we have included the above file. how we can findout the landingfile.

  • 写回答

1条回答 默认 最新

  • dongsha7215 2012-09-05 13:46
    关注

    PHP Fatal error: Cannot redeclare DomainNameInfo()

    This is an php error and not apache. You definied a function DomainNameInfo() on lltnit.lg4 on line 261 and on lgconf/ltnit.lg4 line 515 you defined the same function again .... there's your fault ....

    hint: when you use inlcude() / require you can alternativ use the function include_once() / require_once() to avoid the error by including functions twice ...

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据