{"id":2554,"date":"2014-08-18T16:04:42","date_gmt":"2014-08-18T08:04:42","guid":{"rendered":"http:\/\/kuki.idv.tw\/?p=2554"},"modified":"2014-08-18T16:04:42","modified_gmt":"2014-08-18T08:04:42","slug":"%e8%bd%89iis7%e4%b8%8a%e4%bd%bf%e7%94%a8php","status":"publish","type":"post","link":"https:\/\/www.kuki.idv.tw\/?p=2554","title":{"rendered":"[\u8f49]IIS7\u4e0a\u4f7f\u7528PHP"},"content":{"rendered":"<p>\u4f86\u6e90\u00a0http:\/\/coding.anyun.tw\/2011\/05\/02\/using-php-on-iis\/<\/p>\n<h1 style=\"color: #2c2c29;\">\u524d\u8a00<\/h1>\n<p style=\"color: #2c2c29;\"><strong>PHP\u00a0<\/strong>\u662f\u4e00\u7a2e\u7c21\u55ae\u65b9\u4fbf\u7684\u8a9e\u8a00\uff0c\u52a0\u4e0a\u5b83\u53c8\u662f\u514d\u8cbb\uff0c\u56e0\u6b64\u53d7\u5230\u76f8\u7576\u591a\u4eba\u7684\u9752\u775e\uff0c\u800c\u5728\u67b6\u8a2d\u53ef\u4ee5\u57f7\u884c PHP \u7684\u4f3a\u670d\u5668\u4e0a\uff0c\u9664\u4e86\u4f7f\u7528<strong>Apache\u00a0<\/strong>\u4ee5\u5916\uff0c\u6211\u5011\u4e5f\u53ef\u4ee5\u4f7f\u7528 IIS \u4f86\u57f7\u884c PHP \u7684\u7a0b\u5f0f\u3002\u800c\u5728\u6bd4\u8f03\u820a\u7248\u672c\u7684 IIS \u548c PHP \u4e0a\u9762\u8981\u8a2d\u5b9a\u6703\u6709\u9ede\u9ebb\u7169\uff0c\u6709\u6642\u5019\u6703\u9047\u5230\u4e0d\u5c11\u83ab\u540d\u5176\u5999\u7684\u554f\u984c\uff0c\u4f46\u662f\u73fe\u5728\u5df2\u7d93\u53ef\u4ee5\u5f88\u7c21\u55ae\u53c8\u5feb\u901f\u7684\u8a2d\u5b9a\u597d PHP \u5728 IIS7 \u4e0a\u9762\u57f7\u884c\uff0c\u4e0b\u9762\u5c31\u7c21\u55ae\u8aaa\u660e\u8a2d\u5b9a\u904e\u7a0b\u3002<span id=\"more-530\"><\/span><\/p>\n<h1 style=\"color: #2c2c29;\">\u8aaa\u660e<\/h1>\n<p style=\"color: #2c2c29;\">\u9996\u5148\u5148\u5230 PHP \u7684<a style=\"color: #807d7a;\" href=\"http:\/\/windows.php.net\/download\/\" target=\"_blank\">\u5b98\u65b9\u7db2\u7ad9<\/a>\u4e0b\u8f09\u00a0<strong>Windows \u7248\u672c<\/strong>\u7684 PHP\uff0c\u88e1\u9762\u6703\u6709\u8a31\u591a\u985e\u578b\u7684\u6a94\u6848\uff0c\u6839\u64da\u81ea\u5df1\u96fb\u8166\u548c\u9700\u6c42\u4e0b\u8f09\u6a94\u6848\u4e86\uff0c\u5b83\u4e5f\u6709\u5305\u88dd\u597d\u7684<strong>\u5b89\u88dd\u6a94<\/strong>\uff0c\u53ef\u4ee5\u76f4\u63a5\u5e6b\u6211\u5011\u8a2d\u5b9a\u5230\u597d\uff0c\u4f46\u662f\u9019\u908a\u6211\u7fd2\u6163\u4e0b\u8f09\u00a0<strong>ZIP \u6a94\u6848<\/strong>\u518d\u81ea\u5df1\u8a2d\u5b9a\u3002\u6211\u5c07\u4e0b\u8f09\u597d\u7684\u6a94\u6848\u89e3\u58d3\u7e2e\u5230<strong>C:\\php\\<\/strong>\u00a0\u4e0b\u9762\uff0c\u63a5\u4e0b\u4f86\u5c31\u53ef\u4ee5\u958b\u59cb\u8a2d\u5b9a\u56c9\uff01<\/p>\n<p style=\"color: #2c2c29;\"><strong>\u5148\u78ba\u5b9a\u6211\u5011\u7684 IIS \u6709\u6c92\u6709\u958b\u555f CGI \u6a21\u5f0f<\/strong>\uff0c\u4f9d\u5e8f\u958b\u555f\u3010\u63a7\u5236\u53f0\u3011\u2192\u3010\u7a0b\u5f0f\u548c\u529f\u80fd\u3011\u2192\u3010\u958b\u555f\u6216\u95dc\u9589 Windows \u529f\u80fd\u3011\uff0c\u7136\u5f8c\u5c07IIS \u7684 CGI \u529f\u80fd\u555f\u7528\u3002<\/p>\n<p style=\"color: #2c2c29;\"><a class=\"cboxElement\" style=\"color: #807d7a;\" href=\"http:\/\/lh6.ggpht.com\/_0svog_KPXrE\/Tb6uvhplEhI\/AAAAAAAADkk\/F-zSQjRHXXA\/IIS_PHP_1.png?imgmax=800\" rel=\"lightbox[2011-4-1-21-27-57]\"><img decoding=\"async\" loading=\"lazy\" class=\"pie-img aligncenter\" src=\"http:\/\/lh6.ggpht.com\/_0svog_KPXrE\/Tb6uvhplEhI\/AAAAAAAADkk\/F-zSQjRHXXA\/IIS_PHP_1.png?imgmax=400\" alt=\"IIS_PHP_1.png\" width=\"400\" height=\"385\" \/><\/a><\/p>\n<p style=\"color: #2c2c29;\">\u63a5\u4e0b\u4f86\u958b\u555f IIS\uff0c\u9078\u64c7<strong>\u8655\u7406\u5e38\u5f0f\u5c0d\u61c9<\/strong><\/p>\n<p style=\"color: #2c2c29;\"><a class=\"cboxElement\" style=\"color: #807d7a;\" href=\"http:\/\/lh5.ggpht.com\/_0svog_KPXrE\/Tb6uvuFU1nI\/AAAAAAAADko\/reH2bIa_hh0\/IIS_PHP_2.png?imgmax=800\" rel=\"lightbox[2011-4-1-21-30-47]\"><img decoding=\"async\" loading=\"lazy\" class=\"pie-img aligncenter\" src=\"http:\/\/lh5.ggpht.com\/_0svog_KPXrE\/Tb6uvuFU1nI\/AAAAAAAADko\/reH2bIa_hh0\/IIS_PHP_2.png?imgmax=400\" alt=\"IIS_PHP_2.png\" width=\"400\" height=\"249\" \/><\/a><\/p>\n<p style=\"color: #2c2c29;\">\u9078\u64c7<strong>\u65b0\u589e\u6a21\u7d44\u5c0d\u61c9<\/strong><\/p>\n<p style=\"color: #2c2c29;\"><a class=\"cboxElement\" style=\"color: #807d7a;\" href=\"http:\/\/lh6.ggpht.com\/_0svog_KPXrE\/Tb6uvtuxEDI\/AAAAAAAADks\/Nv_sZJEug6M\/IIS_PHP_3.png?imgmax=800\" rel=\"lightbox[2011-4-1-22-1-53]\"><img decoding=\"async\" loading=\"lazy\" class=\"pie-img aligncenter\" src=\"http:\/\/lh6.ggpht.com\/_0svog_KPXrE\/Tb6uvtuxEDI\/AAAAAAAADks\/Nv_sZJEug6M\/IIS_PHP_3.png?imgmax=400\" alt=\"IIS_PHP_3.png\" width=\"400\" height=\"249\" \/><\/a><\/p>\n<p style=\"color: #2c2c29;\">\u7136\u5f8c\u4f9d\u7167\u4e0b\u5716\u505a\u8a2d\u5b9a\uff0c\u6309\u78ba\u5b9a\u4e4b\u5f8c\uff0c\u6211\u5011\u7684\u7db2\u7ad9\u5c31\u53ef\u4ee5\u57f7\u884c PHP \u56c9\uff01<\/p>\n<p style=\"color: #2c2c29;\"><a class=\"cboxElement\" style=\"color: #807d7a;\" href=\"http:\/\/lh5.ggpht.com\/_0svog_KPXrE\/Tb6uwMY2wfI\/AAAAAAAADkw\/ETuYC2Lsu40\/IIS_PHP_4.png?imgmax=800\" rel=\"lightbox[2011-4-1-22-3-11]\"><img decoding=\"async\" loading=\"lazy\" class=\"pie-img aligncenter\" src=\"http:\/\/lh5.ggpht.com\/_0svog_KPXrE\/Tb6uwMY2wfI\/AAAAAAAADkw\/ETuYC2Lsu40\/IIS_PHP_4.png?imgmax=400\" alt=\"IIS_PHP_4.png\" width=\"400\" height=\"353\" \/><\/a><\/p>\n<p style=\"color: #2c2c29;\">\u6b64\u5916\u4e5f\u5225\u5fd8\u8a18\u628a\u00a0<strong>C:\\php\\php.ini-development<\/strong>\u00a0\u6216\u00a0<strong>C:\\php\\php.ini-production<\/strong>\u00a0\u6539\u540d\u6210\u00a0<strong>php.ini<\/strong>\u00a0\u653e\u5230\u00a0<strong>C:\\windows<\/strong>\u00a0\u76ee\u9304\u4e0b\u56c9\uff01\u81f3\u65bc\u88e1\u9762\u7684\u8a2d\u5b9a\u8a72\u5982\u4f55\u8a2d\u5b9a\u53ef\u4ee5\u53c3\u8003\u7db2\u8def\u4e0a\u7684\u8aaa\u660e\uff0c\u5c31\u4e0d\u518d\u4ecb\u7d39\u4e86\u3002<\/p>\n<h1 style=\"color: #2c2c29;\">\u7d50\u8ad6<\/h1>\n<p style=\"color: #2c2c29;\">\u73fe\u5728\u8981\u8a2d\u5b9a PHP \u5728 IIS \u4e0a\u9762\u57f7\u884c\u6bd4\u8d77\u4ee5\u524d\u771f\u7684\u7c21\u55ae\u8a31\u591a\u4e86\uff0c\u5982\u679c\u662f IIS 6 \u53ef\u4ee5\u67e5\u770b\u53c3\u8003\u8cc7\u6599\u7684\u9023\u7d50\uff0c\u88e1\u9762\u4e5f\u6709\u8a73\u7d30\u7684\u4ecb\u7d39\uff0c\u5982\u679c\u89ba\u5f97\u6211\u9019\u4e00\u7bc7\u4e0d\u5920\u6e05\u695a\u4e5f\u53ef\u4ee5\u53c3\u8003 Set Up FastCGI for PHP \u9019\u4e00\u7bc7\u6587\u7ae0\uff0c\u88e1\u9762\u6709\u5f71\u7247\u8a2d\u5b9a\u6559\u5b78\u5594\uff01<\/p>\n<h1 style=\"color: #2c2c29;\">\u53c3\u8003\u8cc7\u6599<\/h1>\n<p style=\"color: #2c2c29;\"><a style=\"color: #807d7a;\" title=\"Set Up FastCGI for PHP\" href=\"http:\/\/learn.iis.net\/page.aspx\/375\/set-up-fastcgi-for-php\/\" target=\"_blank\">Set Up FastCGI for PHP<\/a><\/p>\n<p style=\"color: #2c2c29;\"><a style=\"color: #807d7a;\" title=\"Using FastCGI to Host PHP Applications on IIS 6.0\" href=\"http:\/\/learn.iis.net\/page.aspx\/247\/using-fastcgi-to-host-php-applications-on-iis-60\/\" target=\"_blank\">Using FastCGI to Host PHP Applications on IIS 6.0<\/a><\/p>\n<p style=\"color: #2c2c29;\"><a style=\"color: #807d7a;\" title=\"Using FastCGI to Host PHP Applications on IIS 7\" href=\"http:\/\/learn.iis.net\/page.aspx\/246\/using-fastcgi-to-host-php-applications-on-iis-7\/\" target=\"_blank\">Using FastCGI to Host PHP Applications on IIS 7<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f86\u6e90\u00a0http:\/\/coding.anyun.tw\/2011\/05\/02\/using-php-on-iis\/  &hellip; <a href=\"https:\/\/www.kuki.idv.tw\/?p=2554\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008[\u8f49]IIS7\u4e0a\u4f7f\u7528PHP\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\/2554"}],"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=2554"}],"version-history":[{"count":1,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2554\/revisions"}],"predecessor-version":[{"id":2555,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/2554\/revisions\/2555"}],"wp:attachment":[{"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kuki.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}