{"id":40,"date":"2013-12-21T20:54:00","date_gmt":"2013-12-21T12:54:00","guid":{"rendered":"http:\/\/web.jofar.cn\/?p=40"},"modified":"2013-12-21T20:54:00","modified_gmt":"2013-12-21T12:54:00","slug":"%e8%ae%a9iis7%e4%b8%adfastcgi%e6%a8%a1%e5%bc%8f%e4%b8%8bphp5-3%e6%8a%a5%e5%87%ba%e8%af%a6%e7%bb%86%e9%94%99%e8%af%af%e4%bf%a1%e6%81%af","status":"publish","type":"post","link":"https:\/\/web.jofar.cn\/?p=40","title":{"rendered":"\u8ba9iis7\u4e2dfastcgi\u6a21\u5f0f\u4e0bphp5.3\u62a5\u51fa\u8be6\u7ec6\u9519\u8bef\u4fe1\u606f"},"content":{"rendered":"<p>\u8fd9\u4e24\u5929\u5728win7\u4e0b\u8c03\u8bd5php\u7a0b\u5e8f, \u7528\u7684\u662ffastcgi\u6a21\u5f0f\u7684,\u4e5f\u4e0d\u77e5\u8fd9\u4e2a\u6a21\u5f0f\u5230\u5e95\u600e\u4e48\u6837, \u4f46\u65e2\u7136win7\u548cwin2008\u90fd\u9ed8\u8ba4\u652f\u6301\u8fd9\u4e2a\u6a21\u5f0f, \u90a3\u5c31\u5e94\u8be5\u662f\u4e0d\u9519\u7684, \u800c\u4e14php5.3\u4ee5\u4e0a\u7248\u672c\u4e5f\u5728win7\u4e0b\u4e5f\u53ea\u652f\u6301\u8fd9\u4e2a\u6a21\u5f0f,<\/p>\n<div id=\"content\">\n<p><strong>u.php???\/\/ \u5199\u4e00\u4e2a\u660e\u663e\u7684\u9519\u8bef\u7a0b\u5e8f\u6765\u6d4b\u8bd5;<br \/>\n<\/strong><strong>{<br \/>\n<\/strong><strong>? ? ? ? ? phpinfo()abc;<br \/>\n<\/strong><strong>}<\/strong><\/p>\n<p>\u5728\u8fd9\u6837\u7684\u73af\u5883\u4e0b\u8c03\u8bd5, \u51fa\u9519\u4e86\u4e00\u4e9b\u9519\u8bef, \u5305\u62ec\u73b0\u5728\u6240\u9762\u5bf9\u7684\u95ee\u9898, \u8c03\u8bd5\u7a0b\u5e8f\u65f6\u62a5\u4e0d\u51fa\u8be6\u7ec6\u9519\u8bef! \u5728ii7\u7684fastcgi\u6a21\u5f0f\u4e0b\u53ea\u63d0\u793a\u5982\u4e0b\u9519\u8bef:<\/p>\n<p>\u9519\u8bef\u6458\u8981<br \/>\nHTTP \u9519\u8bef 500.0 &#8211; Internal Server Error<br \/>\n\u65e0\u6cd5\u663e\u793a\u9875\u9762\uff0c\u56e0\u4e3a\u53d1\u751f\u5185\u90e8\u670d\u52a1\u5668\u9519\u8bef\u3002 \u8be6\u7ec6\u9519\u8bef\u4fe1\u606f<br \/>\n\u6a21\u5757 FastCgiModule<br \/>\n\u901a\u77e5 ExecuteRequestHandler<br \/>\n\u5904\u7406\u7a0b\u5e8f PHP_via_FastCGI<br \/>\n\u9519\u8bef\u4ee3\u7801 0x00000000<br \/>\n\u8bf7\u6c42\u7684 URL?<a href=\"http:\/\/localhost\/u.php\">http:\/\/localhost:80\/u.php<\/a><br \/>\n\u7269\u7406\u8def\u5f84 C:\\inetpub\\wwwroot\\u.php<br \/>\n\u767b\u5f55\u65b9\u6cd5 \u533f\u540d<br \/>\n\u767b\u5f55\u7528\u6237 \u533f\u540d<\/p>\n<p><strong>?<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u5176\u5b9e,\u8fd9\u6837\u7684\u62a5\u9519\u4fe1\u606f\u5bf9\u4e8e\u8c03\u8bd5\u7a0b\u5e8f\u53ea\u6709\u4e00\u70b9\u513f\u7528\u5904, \u90a3\u5c31\u662f\u7a0b\u5e8f\u4f60\u5199\u9519\u4e86! \u5176\u5b83\u5c31\u6ca1\u6709\u4fe1\u606f\u4e86, \u5982\u679c\u8c03\u8bd5\u4e00\u4e2a\u51e0\u767e\u884c\u4ee3\u7801\u7684php\u7a0b\u5e8f\u5c31\u5f88\u68d8\u624b<\/strong><\/p>\n<p><strong>\u5728\u7f51\u4e0a\u67e5\u4e86\u5f88\u4e45, \u66f4\u6539php.ini\u7684log_errors =Off\u7684\u9009\u9879 \u4e3aOn , \u8fd8\u662f\u62a5\u4e0a\u9762\u7684\u9519\u8bef, \u4f46\u662f\u80fd\u5230<\/strong><\/p>\n<p><strong>error_log=&#8221;C:\\windows\\temp\\php-errors.log&#8221;<\/strong><\/p>\n<p><strong>\u8fd9\u4e2a\u76ee\u5f55\u6587\u4ef6\u4e0b\u770b\u5230\u76f8\u5173\u9519\u8bef\u8be6\u7ec6\u4fe1\u606f ! \u4f46\u662f\u8fd9\u6837\u4e5f\u5f88\u9ebb\u70e6, \u4f60\u4e0d\u53ef\u80fd\u4e00\u51fa\u9519\u5c31\u53bb\u67e5\u770b\u8fd9\u4e2a\u65e5\u5fd7\u6587\u4ef6\u5427!<\/strong><\/p>\n<p><strong>\u5982\u4f55\u8ba9\u9519\u8bef\u4fe1\u606f\u76f4\u63a5\u663e\u793a\u5230IE\u6d4f\u89c8\u5668\u91cc\u9762\u5c31\u4e2a\u95ee\u9898\u4e86, \u5728\u516c\u53f8\u540c\u4e8b\u7684\u5e2e\u52a9\u4e0b\u624d\u89e3\u51b3\u4e86\u8fd9\u4e2a\u95ee\u9898!<\/strong><\/p>\n<p><strong>\u5c06php.ini\u4e0b\u6587\u4ef6 display_errors = Off\u66f4\u6539\u4e3a display_errors = On\u5c31\u53ef\u4ee5\u4e86, \u5c31\u4f1a\u663e\u793a\u5982\u4e0b\u9519\u8bef\u4fe1\u606f:<\/strong><\/p>\n<p>Warning: Unknown: It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#8216;UTC&#8217; for &#8216;8.0\/no DST&#8217; instead in C:\\inetpub\\wwwroot\\u.php on line 2 Parse error: syntax error, unexpected T_STRING in C:\\inetpub\\wwwroot\\u.php on line 2<\/p>\n<p><strong>?<\/strong><br \/>\n<strong>\u5176\u5b9e\u4e0a\u9762\u7684\u9519\u8bef\u4fe1\u606f\u91cc\u9762 Parse error: syntax error, unexpected T_STRING in C:\\inetpub\\wwwroot\\u.php on line 2 \u624d\u662f\u6709\u7528\u7684\u9519\u8bef\u4fe1\u606f!<\/strong><\/p>\n<p><strong>\u81f3\u4e8e:<\/strong><\/p>\n<p>Warning: Unknown: It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected &#8216;UTC&#8217; for &#8216;8.0\/no DST&#8217; instead in C:\\inetpub\\wwwroot\\u.php on line 2<\/p>\n<p><strong>\u8fd9\u6837\u7684\u9519\u8bef\u7684\u4fe1\u606f, \u662f\u65f6\u533a\u4e0d\u4e00\u81f4\u5bfc\u81f4\u7684, \u6bcf\u6b21\u90fd\u51fa\u73b0\u8fd9\u6837\u7684\u9519\u8bef\u4fe1\u606f\u4e5f\u4e0d\u5fc5, \u90a3\u5c31\u6539\u65f6\u533a\u8bbe\u7f6e\u5427!<\/strong><\/p>\n<p><strong>\u5982\u679c\u662f\u4e2d\u56fd\u5927\u9646\u5c31\u5c06php.ini\u7684<\/strong>?;date.timezone =?<strong>\u66f4\u6539\u4e3a<\/strong>?date.timezone = PRC<\/p>\n<p><strong>\u5c31\u53ef\u4ee5\u4e86! \u8bb0\u4f4f\u66f4\u6539\u8fd9\u4e2a\u8bbe\u7f6e\u4e00\u5b9a\u8981iisreset\u91cd\u542f\u4e00\u4e0biis\u624d\u884c!<\/strong><\/p>\n<p><strong>\u51fa\u9519\u4fe1\u606f\u5982\u4e0b:<\/strong>?Parse error: syntax error, unexpected T_STRING in C:\\inetpub\\wwwroot\\u.php on line 2<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u597d\u4e86, \u73b0\u5728\u5c31\u5b8c\u6574\u8c03\u8bd5\u5b8c\u6bd5\u4e86, \u5982\u679c\u4ee5\u7684\u4e00\u518d\u6709\u7a0b\u5e8f\u9519\u8bef\u5c31\u5bb9\u6613\u627e\u5230\u7a0b\u5e8f\u9519\u8bef\u7684\u5177\u4f53\u4f4d\u7f6e\u4e86!<\/strong><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u8fd9\u4e24\u5929\u5728win7\u4e0b\u8c03\u8bd5php\u7a0b\u5e8f, \u7528\u7684\u662ffastcgi\u6a21\u5f0f\u7684,\u4e5f\u4e0d\u77e5\u8fd9\u4e2a\u6a21\u5f0f\u5230\u5e95\u600e\u4e48\u6837, \u4f46\u65e2\u7136win7\u548cw\u2026 <span class=\"read-more\"><a href=\"https:\/\/web.jofar.cn\/?p=40\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,12,5],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-cloud","category-server","category-practice-readme"],"_links":{"self":[{"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":0,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=\/wp\/v2\/posts\/40\/revisions"}],"wp:attachment":[{"href":"https:\/\/web.jofar.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/web.jofar.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}