{"id":48796,"date":"2024-10-08T00:16:18","date_gmt":"2024-10-07T16:16:18","guid":{"rendered":"https:\/\/server.hk\/cnblog\/48796\/"},"modified":"2024-10-08T00:16:18","modified_gmt":"2024-10-07T16:16:18","slug":"windows-10-%e4%b8%ad%e7%9a%84-iis-10-%e5%ae%89%e8%a3%9d-php-manager-%e7%9a%84%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/server.hk\/cnblog\/48796\/","title":{"rendered":"Windows 10 \u4e2d\u7684 IIS 10 \u5b89\u88dd PHP Manager \u7684\u65b9\u6cd5"},"content":{"rendered":"<h1 id=\"windows-10-%e4%b8%ad%e7%9a%84-iis-10-%e5%ae%89%e8%a3%9d-php-manager-%e7%9a%84%e6%96%b9%e6%b3%95-nEPuQCkXZJ\">Windows 10 \u4e2d\u7684 IIS 10 \u5b89\u88dd PHP Manager \u7684\u65b9\u6cd5<\/h1>\n<p>\u5728\u7576\u4eca\u7684\u7db2\u7d61\u74b0\u5883\u4e2d\uff0cPHP \u662f\u4e00\u7a2e\u5ee3\u6cdb\u4f7f\u7528\u7684\u8173\u672c\u8a9e\u8a00\uff0c\u7279\u5225\u662f\u5728\u958b\u767c\u52d5\u614b\u7db2\u7ad9\u548c\u7db2\u7d61\u61c9\u7528\u7a0b\u5e8f\u65b9\u9762\u3002\u5c0d\u65bc\u4f7f\u7528 Windows 10 \u7684\u958b\u767c\u8005\u4f86\u8aaa\uff0cIIS\uff08Internet Information Services\uff0910 \u662f\u4e00\u500b\u5f37\u5927\u7684\u7db2\u9801\u4f3a\u670d\u5668\uff0c\u80fd\u5920\u652f\u6301 PHP \u7684\u904b\u884c\u3002\u672c\u6587\u5c07\u4ecb\u7d39\u5982\u4f55\u5728 Windows 10 \u4e2d\u7684 IIS 10 \u4e0a\u5b89\u88dd PHP Manager\uff0c\u4ee5\u4fbf\u66f4\u65b9\u4fbf\u5730\u7ba1\u7406 PHP \u74b0\u5883\u3002<\/p>\n<h2 id=\"%e5%89%8d%e6%9c%9f%e6%ba%96%e5%82%99-nEPuQCkXZJ\">\u524d\u671f\u6e96\u5099<\/h2>\n<p>\u5728\u958b\u59cb\u5b89\u88dd PHP Manager \u4e4b\u524d\uff0c\u60a8\u9700\u8981\u78ba\u4fdd\u5df2\u7d93\u5b89\u88dd\u4e86 IIS 10\u3002\u4ee5\u4e0b\u662f\u6aa2\u67e5\u548c\u5b89\u88dd IIS \u7684\u6b65\u9a5f\uff1a<\/p>\n<ul>\n<li>\u6253\u958b\u300c\u63a7\u5236\u9762\u677f\u300d\uff0c\u9078\u64c7\u300c\u7a0b\u5e8f\u300d\u3002<\/li>\n<li>\u9ede\u64ca\u300c\u555f\u7528\u6216\u95dc\u9589 Windows \u529f\u80fd\u300d\u3002<\/li>\n<li>\u5728\u5f48\u51fa\u7684\u7a97\u53e3\u4e2d\uff0c\u627e\u5230\u300cInternet Information Services\u300d\uff0c\u52fe\u9078\u5b83\u4e26\u9ede\u64ca\u300c\u78ba\u5b9a\u300d\u3002<\/li>\n<\/ul>\n<p>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u60a8\u53ef\u4ee5\u5728\u300c\u958b\u59cb\u300d\u83dc\u55ae\u4e2d\u627e\u5230 IIS \u7ba1\u7406\u5668\u3002<\/p>\n<h2 id=\"%e4%b8%8b%e8%bc%89-php-%e5%92%8c-php-manager-nEPuQCkXZJ\">\u4e0b\u8f09 PHP \u548c PHP Manager<\/h2>\n<p>\u63a5\u4e0b\u4f86\uff0c\u60a8\u9700\u8981\u4e0b\u8f09 PHP \u548c PHP Manager\u3002\u4ee5\u4e0b\u662f\u5177\u9ad4\u6b65\u9a5f\uff1a<\/p>\n<ul>\n<li>\u8a2a\u554f <a href=\"https:\/\/windows.php.net\/download\/\" rel=\"nofollow noopener\" target=\"_blank\">PHP \u5b98\u65b9\u7db2\u7ad9<\/a>\uff0c\u9078\u64c7\u9069\u5408\u60a8\u7cfb\u7d71\u7684 PHP \u7248\u672c\uff08\u5efa\u8b70\u4f7f\u7528 Thread Safe \u7248\u672c\uff09\u3002<\/li>\n<li>\u4e0b\u8f09\u5f8c\uff0c\u5c07 PHP \u89e3\u58d3\u5230\u4e00\u500b\u76ee\u9304\uff0c\u4f8b\u5982\uff1aC:PHP\u3002<\/li>\n<li>\u63a5\u8457\uff0c\u4e0b\u8f09 PHP Manager\uff0c\u60a8\u53ef\u4ee5\u5f9e <a href=\"https:\/\/github.com\/rjchow\/PHPManager\/releases\" rel=\"nofollow noopener\" target=\"_blank\">GitHub<\/a> \u7372\u53d6\u6700\u65b0\u7248\u672c\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%ae%89%e8%a3%9d-php-nEPuQCkXZJ\">\u5b89\u88dd PHP<\/h2>\n<p>\u5728\u5b89\u88dd PHP \u4e4b\u524d\uff0c\u60a8\u9700\u8981\u9032\u884c\u4e00\u4e9b\u914d\u7f6e\uff1a<\/p>\n<ol>\n<li>\u5c07 PHP \u7684\u8def\u5f91\u6dfb\u52a0\u5230\u7cfb\u7d71\u74b0\u5883\u8b8a\u91cf\u4e2d\uff1a\n<ul>\n<li>\u53f3\u9375\u9ede\u64ca\u300c\u6b64\u96fb\u8166\u300d\uff0c\u9078\u64c7\u300c\u5c6c\u6027\u300d\u3002<\/li>\n<li>\u9ede\u64ca\u300c\u9ad8\u7d1a\u7cfb\u7d71\u8a2d\u7f6e\u300d\uff0c\u7136\u5f8c\u9078\u64c7\u300c\u74b0\u5883\u8b8a\u91cf\u300d\u3002<\/li>\n<li>\u5728\u300c\u7cfb\u7d71\u8b8a\u91cf\u300d\u4e2d\u627e\u5230\u300cPath\u300d\uff0c\u9078\u64c7\u5f8c\u9ede\u64ca\u300c\u7de8\u8f2f\u300d\uff0c\u7136\u5f8c\u6dfb\u52a0 PHP \u7684\u5b89\u88dd\u8def\u5f91\uff08\u4f8b\u5982\uff1aC:PHP\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u5728 PHP \u76ee\u9304\u4e2d\uff0c\u8907\u88fd php.ini-development \u70ba php.ini\uff0c\u4e26\u6839\u64da\u9700\u8981\u9032\u884c\u914d\u7f6e\u3002<\/li>\n<\/ol>\n<h2 id=\"%e9%85%8d%e7%bd%ae-iis-%e4%bb%a5%e6%94%af%e6%8c%81-php-nEPuQCkXZJ\">\u914d\u7f6e IIS \u4ee5\u652f\u6301 PHP<\/h2>\n<p>\u63a5\u4e0b\u4f86\uff0c\u60a8\u9700\u8981\u5728 IIS \u4e2d\u914d\u7f6e PHP\uff1a<\/p>\n<ul>\n<li>\u6253\u958b IIS \u7ba1\u7406\u5668\uff0c\u9078\u64c7\u60a8\u7684\u4f3a\u670d\u5668\u7bc0\u9ede\u3002<\/li>\n<li>\u5728\u53f3\u5074\u7684\u64cd\u4f5c\u9762\u677f\u4e2d\uff0c\u9ede\u64ca\u300c\u8655\u7406\u7a0b\u5e8f\u6620\u5c04\u300d\u3002<\/li>\n<li>\u5728\u300c\u64cd\u4f5c\u300d\u9762\u677f\u4e2d\uff0c\u9078\u64c7\u300c\u6dfb\u52a0\u6a21\u584a\u6620\u5c04\u300d\u3002<\/li>\n<li>\u586b\u5beb\u4ee5\u4e0b\u4fe1\u606f\uff1a\n<ul>\n<li>\u8acb\u6c42\u8def\u5f91\uff1a*.php<\/li>\n<li>\u6a21\u584a\uff1aFastCgiModule<\/li>\n<li>\u53ef\u57f7\u884c\u6587\u4ef6\uff1aC:PHPphp-cgi.exe<\/li>\n<li>\u540d\u7a31\uff1aPHP_via_FastCGI<\/li>\n<\/ul>\n<\/li>\n<li>\u9ede\u64ca\u300c\u78ba\u5b9a\u300d\uff0c\u7136\u5f8c\u9078\u64c7\u300c\u662f\u300d\u4ee5\u5141\u8a31\u5275\u5efa FastCGI \u61c9\u7528\u7a0b\u5e8f\u3002<\/li>\n<\/ul>\n<h2 id=\"%e5%ae%89%e8%a3%9d-php-manager-nEPuQCkXZJ\">\u5b89\u88dd PHP Manager<\/h2>\n<p>\u6700\u5f8c\uff0c\u5b89\u88dd PHP Manager\uff1a<\/p>\n<ul>\n<li>\u904b\u884c\u4e0b\u8f09\u7684 PHP Manager \u5b89\u88dd\u7a0b\u5e8f\uff0c\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88dd\u3002<\/li>\n<li>\u5b89\u88dd\u5b8c\u6210\u5f8c\uff0c\u60a8\u53ef\u4ee5\u5728 IIS \u7ba1\u7406\u5668\u4e2d\u770b\u5230 PHP Manager \u7684\u9078\u9805\u3002<\/li>\n<\/ul>\n<h2 id=\"%e6%b8%ac%e8%a9%a6-php-%e7%92%b0%e5%a2%83-nEPuQCkXZJ\">\u6e2c\u8a66 PHP \u74b0\u5883<\/h2>\n<p>\u70ba\u4e86\u78ba\u4fdd PHP \u6b63\u5e38\u904b\u884c\uff0c\u60a8\u53ef\u4ee5\u5275\u5efa\u4e00\u500b\u7c21\u55ae\u7684 PHP \u6e2c\u8a66\u6587\u4ef6\uff1a<\/p>\n<pre><code>&lt;?php\nphpinfo();\n?&gt;<\/code><\/pre>\n<p>\u5c07\u4e0a\u8ff0\u4ee3\u78bc\u4fdd\u5b58\u70ba info.php\uff0c\u4e26\u653e\u7f6e\u5728 IIS \u7684\u6839\u76ee\u9304\uff08\u901a\u5e38\u662f C:inetpubwwwroot\uff09\u4e2d\u3002\u7136\u5f8c\u5728\u700f\u89bd\u5668\u4e2d\u8a2a\u554f http:\/\/localhost\/info.php\uff0c\u60a8\u61c9\u8a72\u80fd\u770b\u5230 PHP \u7684\u914d\u7f6e\u4fe1\u606f\u9801\u9762\u3002<\/p>\n<h2 id=\"%e7%b8%bd%e7%b5%90-nEPuQCkXZJ\">\u7e3d\u7d50<\/h2>\n<p>\u5728 Windows 10 \u4e2d\u5b89\u88dd IIS 10 \u548c PHP Manager \u662f\u4e00\u500b\u76f8\u5c0d\u7c21\u55ae\u7684\u904e\u7a0b\uff0c\u901a\u904e\u4e0a\u8ff0\u6b65\u9a5f\uff0c\u60a8\u53ef\u4ee5\u8f15\u9b06\u914d\u7f6e PHP \u74b0\u5883\u4ee5\u652f\u6301\u60a8\u7684\u958b\u767c\u9700\u6c42\u3002\u7121\u8ad6\u60a8\u662f\u958b\u767c\u8005\u9084\u662f\u7cfb\u7d71\u7ba1\u7406\u54e1\uff0c\u638c\u63e1\u9019\u4e9b\u6280\u80fd\u90fd\u5c07\u5c0d\u60a8\u7684\u5de5\u4f5c\u5927\u6709\u88e8\u76ca\u3002\u5982\u679c\u60a8\u9700\u8981\u66f4\u9ad8\u6548\u7684\u4f3a\u670d\u5668\u89e3\u6c7a\u65b9\u6848\uff0c\u53ef\u4ee5\u8003\u616e\u4f7f\u7528\u6211\u5011\u7684 <a href=\"https:\/\/server.hk\">\u9999\u6e2fVPS<\/a> \u670d\u52d9\uff0c\u70ba\u60a8\u7684\u61c9\u7528\u63d0\u4f9b\u7a69\u5b9a\u7684\u652f\u6301\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e86\u89e3\u5982\u4f55\u5728 Windows 10 \u7684 IIS 10 \u4e2d\u5b89\u88dd PHP Manager\uff0c\u7c21\u5316 PHP \u61c9\u7528\u7a0b\u5f0f\u7684\u7ba1\u7406\u8207\u914d\u7f6e\u904e\u7a0b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4924],"tags":[],"class_list":["post-48796","post","type-post","status-publish","format-standard","hentry","category-setup-tutorials"],"_links":{"self":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/48796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/comments?post=48796"}],"version-history":[{"count":1,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/48796\/revisions"}],"predecessor-version":[{"id":48797,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/posts\/48796\/revisions\/48797"}],"wp:attachment":[{"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/media?parent=48796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/categories?post=48796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/server.hk\/cnblog\/wp-json\/wp\/v2\/tags?post=48796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}