{"id":2556,"date":"2014-08-18T16:34:25","date_gmt":"2014-08-18T08:34:25","guid":{"rendered":"http:\/\/kuki.idv.tw\/?p=2556"},"modified":"2014-08-18T16:34:25","modified_gmt":"2014-08-18T08:34:25","slug":"%e8%bd%89php-service-in-win7-64%e4%bd%8d%e5%85%83-error-fastcgi-%e8%99%95%e7%90%86%e5%ba%8f%e6%84%8f%e5%a4%96%e5%9c%b0%e7%b5%90%e6%9d%9f-%e6%8e%92%e9%99%a4%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.kuki.idv.tw\/?p=2556","title":{"rendered":"[\u8f49]PHP service in WIN7 64\u4f4d\u5143 ERROR : FastCGI \u8655\u7406\u5e8f\u610f\u5916\u5730\u7d50\u675f-\u6392\u9664\u65b9\u6cd5"},"content":{"rendered":"<p>http:\/\/yeuyun.pixnet.net\/blog\/post\/39374029-%5B%E6%8A%80%E8%A1%93%5Dphp-service-in-win7-64%E4%BD%8D%E5%85%83-error-%3A-fastcgi-%E8%99%95%E7%90%86<\/p>\n<p>&nbsp;<\/p>\n<p style=\"color: #5f6844;\">\u641e\u4e86\u597d\u5e7e\u5929\u7684PHP \u7684\u5b89\u88dd\uff0c\u4e00\u76f4\u7121\u6cd5\u6392\u9664PHP \u7684\u932f\u8aa4\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u932f\u8aa4\u8a0a\u606f\u5982\u4e0b\uff1a<\/p>\n<fieldset style=\"color: #5f6844;\">\n<legend style=\"font-weight: bold;\">\u932f\u8aa4\u6458\u8981<\/legend>\n<h2 style=\"color: #cc0000;\">HTTP \u932f\u8aa4 500.0 &#8211; Internal Server Error<\/h2>\n<h3 style=\"color: #cc0000;\">C:\\php\\php-cgi.exe &#8211; FastCGI \u8655\u7406\u5e8f\u610f\u5916\u5730\u7d50\u675f<\/h3>\n<\/fieldset>\n<div class=\"content-container\" style=\"color: #000000;\">\n<fieldset>\n<legend style=\"font-weight: bold;\">\u8a73\u7d30\u932f\u8aa4\u8cc7\u8a0a<\/legend>\n<div id=\"details-left\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr class=\"alt\">\n<th>\u6a21\u7d44<\/th>\n<td style=\"font-weight: bold;\">FastCgiModule<\/td>\n<\/tr>\n<tr>\n<th>\u901a\u77e5<\/th>\n<td style=\"font-weight: bold;\">ExecuteRequestHandler<\/td>\n<\/tr>\n<tr class=\"alt\">\n<th>\u8655\u7406\u5e38\u5f0f<\/th>\n<td style=\"font-weight: bold;\">PHP via FastCGI<\/td>\n<\/tr>\n<tr>\n<th>\u932f\u8aa4\u78bc<\/th>\n<td style=\"font-weight: bold;\">0xc0000135<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div id=\"details-right\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr class=\"alt\">\n<th>\u8981\u6c42\u7684 URL<\/th>\n<td style=\"font-weight: bold;\">http:\/\/localhost:80\/phpinfo.php<\/td>\n<\/tr>\n<tr>\n<th>\u5be6\u9ad4\u8def\u5f91<\/th>\n<td style=\"font-weight: bold;\">C:\\inetpub\\wwwroot\\phpinfo.php<\/td>\n<\/tr>\n<tr class=\"alt\">\n<th>\u767b\u5165\u65b9\u6cd5<\/th>\n<td style=\"font-weight: bold;\">\u533f\u540d<\/td>\n<\/tr>\n<tr>\n<th>\u767b\u5165\u4f7f\u7528\u8005<\/th>\n<td style=\"font-weight: bold;\">\u533f\u540d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/fieldset>\n<\/div>\n<p style=\"color: #5f6844;\">\u5b8c\u6574\u932f\u8aa4\u756b\u9762\u5982\u4e0b\u5716\uff1a<\/p>\n<p style=\"color: #5f6844;\"><img decoding=\"async\" title=\"PHP-error\" src=\"http:\/\/pic.pimg.tw\/yeuyun\/1373791488-2100864666.png\" alt=\"PHP-error\" border=\"0\" \/><\/p>\n<p style=\"color: #5f6844;\">\n<p style=\"color: #5f6844;\">\u63a5\u8457\u5728\u7db2\u8def\u4e0a\u627e\u4e86\u4e00\u5806\u65b9\u6cd5\u4ecd\u7136\u7121\u6cd5\u6709\u6548\u6392\u9664\u554f\u984c\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u5f8c\u4f86\u7d22\u6027\u76f4\u63a5\u57f7\u884cphp-cgi.exe\uff0c\u8df3\u51fa\u932f\u8aa4\u8a0a\u606f\uff0c<\/p>\n<p style=\"color: #5f6844;\">msvcr110.dll \u6a94\u6848\u907a\u5931\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u8a72\u6a94\u6848\u5ba4\u5c6c\u65bcVS2012\u4ee5\u4e0a\u7684\u7248\u672c\u624d\u6709(\u6211\u53ea\u6709\u88ddVS2008)\uff0c\u7cfb\u7d71\u958b\u767c\u4eba\u54e1\u5982\u679c\u6c92\u6709\u5b89\u88dd\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u6216\u662f\u5b89\u88dd\u8f03\u4f4e\u7248\u7684\u5c31\u6c92\u6709msvcr110.dll\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u56e0\u70baPHP\u7684\u7248\u672c\u662fphp-5.5.0RC2-Win32-<span style=\"color: #ff0000;\"><strong>VC11<\/strong><\/span>-x64\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u4eba\u5bb6\u64fa\u660e\u5c31\u8aaa\u4e86VC11\u89812012\u4e86~=\u00a0 =~<\/p>\n<p style=\"color: #5f6844;\"><a style=\"color: #859d00;\" href=\"http:\/\/windows.php.net\/download\/#php-5.5\" target=\"_blank\">http:\/\/windows.php.net\/download\/#php-5.5<\/a><\/p>\n<p style=\"color: #5f6844;\">(\u00a0VC9 or VC11 (Visual Studio 2008 and 2012 compiler respectively)<\/p>\n<p style=\"color: #5f6844;\">\u602a\u81ea\u5df1\u8c6c\u982d\u6c92\u6709\u6ce8\u610f~<\/p>\n<p style=\"color: #5f6844;\">\n\u554f\u984c\u91d0\u6e05\u4e86\uff0c\u90a3\u6211\u81ea\u5df1\u672c\u8eab\u6c92\u6709VS2012\u7684\u8a71\u8a72\u600e\u9ebc\u8fa6\u5462~<\/p>\n<p style=\"color: #5f6844;\">\u6709\u4e8c\u500b\u65b9\u6cd5\uff1a<\/p>\n<p style=\"color: #5f6844;\">1.\u7db2\u8def\u4e0a\u6709\u5f88\u591a\u7db2\u7ad9\u6709\u63d0\u4f9bmsvcr110.dll\u7684\u6a94\u6848\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u8907\u88fd\u5230C:\\Windows\\System32\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u8a18\u5f97\u8981\u8a3b\u518a\u6a94\u6848REGSVR32 msvrc110.dll\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u4f46~\u6211\u61f7\u7591\u5225\u7684\u7db2\u7ad9\u6240\u63d0\u4f9b\u7684DLL\u5b89\u5168\u6027\u5c31\u662f\u4e86\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u6240\u4ee5\u6211\u88dd\u4e86\u53e6\u4e00\u500b\u5fae\u8edf\u958b\u767c\u5957\u4ef6\uff1b<\/p>\n<p style=\"color: #5f6844;\">2.\u9069\u7528\u65bc Visual Studio 2012 Update 3 \u7684 Visual C++ \u53ef\u8f49\u6563\u767c\u5957\u4ef6<\/p>\n<p style=\"color: #5f6844;\"><a style=\"color: #859d00;\" href=\"http:\/\/www.microsoft.com\/zh-tw\/download\/details.aspx?id=30679\" target=\"_blank\">http:\/\/www.microsoft.com\/zh-tw\/download\/details.aspx?id=30679<\/a><\/p>\n<p style=\"color: #5f6844;\">\u00a0\u4e0b\u8f09\u5f8c\u5b89\u88dd\u5c31\u6703\u6709msvcr110.dll\u7684\u5143\u4ef6\u4e86\uff0c<\/p>\n<p style=\"color: #5f6844;\">\u6bd4\u8f03\u5b89\u5168\u4e5f\u6bd4\u8f03\u5feb\u901f\uff0c\u4e8c\u500b\u65b9\u6cd5\u90fd\u53ef\u4ee5\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/yeuyun.pixnet.net\/blog\/post\/39374029-%5B%E6%8A%8 &hellip; <a href=\"https:\/\/www.kuki.idv.tw\/?p=2556\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008[\u8f49]PHP service in WIN7 64\u4f4d\u5143 ERROR : FastCGI \u8655\u7406\u5e8f\u610f\u5916\u5730\u7d50\u675f-\u6392\u9664\u65b9\u6cd5\u3009<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2556"}],"collection":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2556"}],"version-history":[{"count":1,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2556\/revisions"}],"predecessor-version":[{"id":2557,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2556\/revisions\/2557"}],"wp:attachment":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}