{"id":67753,"date":"2017-02-26T02:59:37","date_gmt":"2017-02-25T18:59:37","guid":{"rendered":"http:\/\/www.xiaoyebailong.com\/?p=67753"},"modified":"2017-02-26T02:59:37","modified_gmt":"2017-02-25T18:59:37","slug":"php%e5%87%ba%e7%8e%b0http-%e9%94%99%e8%af%af-500-0-internal-server-error","status":"publish","type":"post","link":"http:\/\/www.xiaoyebailong.com\/index.php\/2017\/02\/26\/67753.htm","title":{"rendered":"PHP\u51fa\u73b0HTTP \u9519\u8bef 500.0 - Internal Server Error"},"content":{"rendered":"<p>\u9700\u8981\u540c\u65f6\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884cPHP\u3001ASP\u3001.Net\uff0c\u8003\u8651\u5230\u65b9\u4fbf\uff0c\u6211\u7528IIS7.5\u5b9e\u73b0\uff0c\u4ee5\u4e0b\u662f\u6240\u9700\u8f6f\u4ef6\u5217\u8868\uff1a<\/p>\n<p>1\u3001Windows 2008 R2 Standard.<br \/>\n2\u3001IIS7.5<br \/>\n3\u3001PHP5.3.8 Thread Safe.<\/p>\n<p>4\u3001MySQL 5.5.16 X64<br \/>\n5\u3001PHP Manager<\/p>\n<p>\u8fd9\u91cc\u4e0d\u518d\u8d58\u8ff0Windows\u548cIIS7.5\u7684\u5b89\u88c5\u65b9\u6cd5\uff0c\u8be6\u7ec6\u8fc7\u7a0b\u8bf7\u4e0a\u767e\u5ea6\u641c\u7d22\u3002<\/p>\n<p>\u6309\u7167\u6b63\u5e38\u521b\u5efa\u7f51\u7ad9\u6d41\u7a0b\uff0c\u4ee5\u4e0b\u4e3a\u7b80\u8981\u6b65\u9aa4\uff1a<\/p>\n<p>1\u3001\u521b\u5efa\u5e94\u7528\u7a0b\u5e8f\u6c60\uff0c\u9009\u62e9.NetFramework\u7248\u672c\u4e3a\u65e0\u6258\u7ba1\u4ee3\u7801\uff0c\u6258\u7ba1\u7ba1\u9053\u6a21\u5f0f\u4e3a\u96c6\u6210\uff0c\u7136\u540e\u53f3\u952e\u70b9\u9009\u521a\u65b0\u5efa\u7684\u5e94\u7528\u7a0b\u5e8f\u6c60\uff0c\u9009\u62e9\u5e38\u89c4\u9009\u9879\u4e0b\u7684\u542f\u752832\u4f4d\u5e94\u7528\u7a0b\u5e8f\u503c\u4e3aTrue\uff1b<\/p>\n<p>2\u3001\u521b\u5efa\u7f51\u7ad9\uff0c\u8f93\u5165\u7f51\u7ad9\u540d\u79f0\uff0c\u5e94\u7528\u7a0b\u5e8f\u6c60\u9009\u62e9\u4e0a\u4e00\u6b65\u521b\u5efa\u597d\u7684\u5c31\u7528\u7a0b\u5e8f\u6c60\uff0c\u9009\u62e9\u7269\u7406\u8def\u5f84\uff0c\u786e\u5b9a\uff0c\u5e76\u8f93\u5165\u9ed8\u8ba4\u6587\u6863\u5217\u8868\uff1b<\/p>\n<p>3\u3001 \u5b89\u88c5PHP Manager\uff0c\u6309\u7167\u6587\u6863\u6b65\u9aa4\u8bbe\u7f6ePHP\u914d\u7f6e\uff0c\u53ea\u9700\u51e0\u6b65\u4fbf\u53ef\uff0c\u7136\u540e\u70b9\u51fbCheck phpinfo()\u8fdb\u884c\u6d4b\u8bd5\uff1b<\/p>\n<p>\u7136\u540e\u6211\u9047\u5230\u4e86\u8fd9\u6837\u7684\u95ee\u9898\uff0c\u9875\u9762\u51fa\u73b0\u4e86\u5982\u4e0b\u9519\u8bef\uff1a&#8221;\u51fa\u73b0 HTTP \u9519\u8bef 500.0 &#8211; Internal Server Error&#8221;\uff0c\u4ee5\u524d\u4e5f\u9047\u5230\u8fc7\uff0c\u7528\u7684\u662fphp5.2.17\u7248\u672c\uff0c\u5f88\u5feb\u89e3\u51b3\u4e86\uff0c\u6309\u7167\u4ee5\u524d\u65b9\u6cd5\uff0c\u68c0\u67e5\u76ee\u5f55\u6743\u9650\uff0c\u68c0\u67e5\u914d\u7f6e\u9879\uff0c\u4f46\u662f\u8fd9\u6b21\u95ee\u9898\u4f9d\u65e7\uff0c\u53cd\u590d\u68c0\u67e5\uff0c\u95ee\u9898\u4ecd\u7136\u6ca1\u6709\u5f97\u5230\u89e3\u51b3\uff0c\u90c1\u95f7\u4e2d&#8230;&#8230;&#8230;&#8230;..\u3002<\/p>\n<p>\u601d\u8003\u4e00\u4e0b\uff0c\u5373\u7136\u662f\u7528IIS7.5\u4f5c\u4e3a\u670d\u52a1\u5668\u8fdb\u884c\u914d\u7f6e\uff0c\u8bf4\u4e0d\u5b9a\u5728IIS\u5b98\u7f51\u4f1a\u6709\u66f4\u597d\u7684\u89e3\u51b3\u529e\u6cd5\u3002\u4e0a\u5b98\u7f51\uff0c\u53cd\u590d\u641c\u7d22\u67e5\u770b\uff0c\u773c\u524d\u4e00\u4eae\uff0c\u7ec8\u4e8e\u627e\u5230\u4e86\u89e3\u51b3\u65b9\u6cd5\uff0c\u7ecf\u5b9e\u8df5\u64cd\u4f5c\uff0c\u8be5\u95ee\u9898\u6700\u7ec8\u5f97\u4ee5\u89e3\u51b3\uff0c\u54c8\u54c8\u3002\uff08\u7279\u522b\u6807\u6ce8\uff1a\u5fc5\u987b\u4f7f\u7528x86\u7248\u672c\uff0c\u5373\u4f7f\u4f60\u7684\u670d\u52a1\u5668\u662fx64\u7248\u672c\u3002\uff09<\/p>\n<p>\u539f\u6765\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u662f\u56e0\u4e3aPHP5.3\u662fVisual C++ 2008 compiler (VC9)\u7f16\u8bd1\u7684\uff0c\u6240\u4ee5\u9700\u8981\u5728\u670d\u52a1\u5668\u4e0a\u5b89\u88c5Visual C++ 2008 runtime\uff0c\u81f3\u6b64\uff0c\u6574\u4e2a\u95ee\u9898\u89e3\u51b3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9700\u8981\u540c\u65f6\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884cPHP\u3001ASP\u3001.Net\uff0c\u8003\u8651\u5230\u65b9\u4fbf\uff0c\u6211\u7528IIS7.5\u5b9e\u73b0\uff0c\u4ee5\u4e0b\u662f\u6240\u9700\u8f6f\u4ef6\u5217\u8868\uff1a 1\u3001Windows 2008 R2 Standard. 2\u3001IIS7.5 3\u3001PHP5.3.8 Thread Safe. 4\u3001MySQL&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[265,25],"topic":[],"class_list":["post-67753","post","type-post","status-publish","format-standard","hentry","category-server","tag-265","tag-php"],"_links":{"self":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/comments?post=67753"}],"version-history":[{"count":1,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67753\/revisions"}],"predecessor-version":[{"id":67754,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/posts\/67753\/revisions\/67754"}],"wp:attachment":[{"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/media?parent=67753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/categories?post=67753"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/tags?post=67753"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/www.xiaoyebailong.com\/index.php\/wp-json\/wp\/v2\/topic?post=67753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}