【问题标题】:The server encountered an internal error or misconfiguration and was unable to complete your request [closed]服务器遇到内部错误或配置错误,无法完成您的请求 [关闭]
【发布时间】:2011-09-20 06:37:10
【问题描述】:
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, nkutty@bics.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.0 (Fedora) Server at bbt.com Port 80

这在我的本地系统中运行良好,但在服务器中无法运行。任何人都可以帮助找出原因吗? 提前致谢!

【问题讨论】:

  • 请查看服务器日志。
  • More information about this error may be available in the server error log. 服务器日志中还有更多信息吗?这是一个通用的 Apache 错误,意思是“其他一些组件遇到了错误”;通常,这可能是您的 PHP 脚本中的错误(开发和实时目录路径不同?文件系统中的访问权限?数据库中的访问错误?)

标签: php mysql apache


【解决方案1】:

检查您的服务器错误日志,通常是/var/log/apache2/error.log

【讨论】:

    【解决方案2】:

    您应该在日志目录中的文件error_log 中查找错误。也许您的本地和服务器配置(数据库用户/密码等)之间存在差异

    通常日志文件在

    /var/log/apache2/error.log
    

    /var/log/httpd/error.log
    

    【讨论】:

    • 如何在服务器上查看它们?
    • 在服务器上:通过 Putty :tail - f /var/log/apache2/error.log 如果使用核心 ftp 或 filezilla 或 winscp,而不仅仅是去文件夹。
    猜你喜欢
    • 2012-04-18
    • 2015-09-21
    • 2017-05-14
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-25
    • 1970-01-01
    相关资源
    最近更新 更多