500.html 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>500 错误 - phpstudy</title>
  6. <meta name="keywords" content="">
  7. <meta name="description" content="">
  8. <meta name="renderer" content="webkit">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  11. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  12. <meta name="apple-mobile-web-app-capable" content="yes">
  13. <meta name="format-detection" content="telephone=no">
  14. <meta HTTP-EQUIV="pragma" CONTENT="no-cache">
  15. <meta HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate">
  16. <meta HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
  17. <meta HTTP-EQUIV="expires" CONTENT="0">
  18. <style>
  19. body{
  20. font: 16px arial,'Microsoft Yahei','Hiragino Sans GB',sans-serif;
  21. }
  22. h1{
  23. margin: 0;
  24. color:#3a87ad;
  25. font-size: 26px;
  26. }
  27. .content{
  28. width: 40%;
  29. margin: 0 auto;
  30. }
  31. .content >div{
  32. margin-top: 50px;
  33. padding: 20px;
  34. background: #d9edf7;
  35. border-radius: 12px;
  36. }
  37. .content dl{
  38. color: #2d6a88;
  39. line-height: 40px;
  40. }
  41. .content div div {
  42. padding-bottom: 20px;
  43. text-align:center;
  44. }
  45. </style>
  46. </head>
  47. <body>
  48. <div class="content">
  49. <div>
  50. <h1>HTTP 500 - Internal Server Error 服务器内部错误</h1>
  51. <dl>
  52. <dt>错误说明:服务器内部错误,无法完成请求</dt>
  53. <dt>原因1:伪静态规则不正确</dt>
  54. <dd>解决办法:</dd>
  55. <dd>修改伪静态。</dd>
  56. <dt>原因2:php版本与网站程序不兼容</dt>
  57. <dd>解决办法:</dd>
  58. <dd>更换PHP版本。</dd>
  59. <dt>原因3:网站无法连接至数据库</dt>
  60. <dd>解决办法:</dd>
  61. <dd>正确修改站点的数据库配置文件。</dd>
  62. <dt>原因4:php禁用了某一函数,需要开启</dt>
  63. <dd>解决办法:</dd>
  64. <dd>开启相关禁用函数。</dd>
  65. <dt>原因5:站点需要访问站外目录</dt>
  66. <dd>解决办法:</dd>
  67. <dd>关闭防跨站处理。</dd>
  68. <dt>原因6:源码本身有BUG</dt>
  69. <dd>解决办法:</dd>
  70. <dd>修复源码bug。</dd>
  71. </dl>
  72. <div>使用手册,视频教程,BUG反馈,官网地址: <a href="https://www.xp.cn" target="_blank">www.xp.cn</a> </div>
  73. </div>
  74. </div>
  75. </body>
  76. </html>