{"id":63346,"date":"2025-04-29T17:19:14","date_gmt":"2025-04-29T09:19:14","guid":{"rendered":"https:\/\/fwq.ai\/blog\/63346\/"},"modified":"2025-04-29T17:19:14","modified_gmt":"2025-04-29T09:19:14","slug":"phpstudy%e5%bf%ab%e9%80%9f%e6%90%ad%e5%bb%ba%e7%bd%91%e7%ab%99%e5%88%ab%e4%ba%ba%e6%80%8e%e8%ae%bf%e9%97%ae-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/63346\/","title":{"rendered":"phpstudy\u5feb\u901f\u642d\u5efa\u7f51\u7ad9\u522b\u4eba\u600e\u8bbf\u95ee"},"content":{"rendered":"<blockquote><p>\n  \u901a\u8fc7 php study \u8ba9\u7f51\u7ad9\u5bf9\u5916\u8bbf\u95ee\u9700\u8981\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u914d\u7f6e\u7aef\u53e3\u6620\u5c04\uff0c\u5c06\u670d\u52a1\u5668\u7aef\u53e3\u66f4\u6539\u4e3a\u5916\u90e8\u53ef\u8bbf\u95ee\u7684\u7aef\u53e3\u3002\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219\uff0c\u786e\u4fdd &#8220;php-cgi.exe&#8221; \u5728 &#8220;\u4e13\u7528&#8221; \u548c &#8220;\u516c\u7528&#8221; \u7f51\u7edc\u4e0b\u90fd\u5904\u4e8e\u9009\u4e2d\u72b6\u6001\u3002\u83b7\u53d6\u516c\u7f51 ip\u3002\u5c06\u516c\u7f51 ip\u3001\u670d\u52a1\u5668\u7aef\u53e3\u548c\u7f51\u7ad9\u5b50\u76ee\u5f55\uff08\u5982\u6709\uff09\u544a\u77e5\u8bbf\u95ee\u8005\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/02\/2024040214061981715.jpg\" class=\"aligncenter\" title=\"phpstudy\u5feb\u901f\u642d\u5efa\u7f51\u7ad9\u522b\u4eba\u600e\u8bbf\u95ee\u63d2\u56fe\" alt=\"phpstudy\u5feb\u901f\u642d\u5efa\u7f51\u7ad9\u522b\u4eba\u600e\u8bbf\u95ee\u63d2\u56fe\" \/><\/p>\n<p><strong>\u901a\u8fc7 PHP Study \u5b9e\u73b0\u7f51\u7ad9\u5bf9\u5916\u8bbf\u95ee<\/strong><\/p>\n<p><strong>\u5982\u4f55\u8ba9\u522b\u4eba\u8bbf\u95ee\u901a\u8fc7 PHP Study \u642d\u5efa\u7684\u7f51\u7ad9\uff1f<\/strong><\/p>\n<p><strong>\u6b65\u9aa4 1\uff1a\u914d\u7f6e\u7aef\u53e3\u6620\u5c04<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00 PHP Study\uff0c\u70b9\u51fb\u201c\u5de5\u5177\u201d\u83dc\u5355 &gt; \u201c\u914d\u7f6e\u201d &gt; \u201c\u7aef\u53e3\u6620\u5c04\u201d\u3002<\/li>\n<li>\u5c06\u201c\u670d\u52a1\u5668\u7aef\u53e3\u201d\u66f4\u6539\u4e3a\u4e00\u4e2a\u5916\u90e8\u53ef\u8bbf\u95ee\u7684\u7aef\u53e3\uff0c\u5982 8080\u3002<\/li>\n<li>\u5c06\u201c\u672c\u5730\u670d\u52a1\u5668\u201d\u7aef\u53e3\u66f4\u6539\u4e3a PHP Study \u7684\u9ed8\u8ba4\u7aef\u53e3\uff0c\u5982 80\u3002<\/li>\n<\/ul>\n<p><strong>\u6b65\u9aa4 2\uff1a\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u6253\u5f00 Windows Defender \u9632\u706b\u5899\uff0c\u70b9\u51fb\u201c\u5141\u8bb8\u5e94\u7528\u6216\u529f\u80fd\u901a\u8fc7 Windows Defender \u9632\u706b\u5899\u201d\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u66f4\u6539\u8bbe\u7f6e\u201d\u6309\u94ae\u3002<\/li>\n<li>\u5728\u201c\u5141\u8bb8\u7684\u5e94\u7528\u548c\u529f\u80fd\u201d\u5217\u8868\u4e2d\uff0c\u627e\u5230\u201cphp-cgi.exe\u201d\uff0c\u5e76\u786e\u4fdd\u5176\u5728\u201c\u4e13\u7528\u201d\u548c\u201c\u516c\u7528\u201d\u7f51\u7edc\u4e0b\u90fd\u5904\u4e8e\u9009\u4e2d\u72b6\u6001\u3002<\/li>\n<\/ul>\n<p><strong>\u6b65\u9aa4 3\uff1a\u83b7\u53d6\u516c\u7f51 IP<\/strong><\/p>\n<ul>\n<li>\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee whatismyipaddress.com \u83b7\u53d6\u4f60\u7684\u516c\u7f51 IP \u5730\u5740\u3002<\/li>\n<\/ul>\n<p><strong>\u6b65\u9aa4 4\uff1a\u5c06\u516c\u7f51 IP \u544a\u77e5\u4ed6\u4eba<\/strong><\/p>\n<ul>\n<li>\u5c06\u4f60\u7684\u516c\u7f51 IP \u5730\u5740\u3001\u670d\u52a1\u5668\u7aef\u53e3\u548c\u4f60\u7f51\u7ad9\u7684\u5b50\u76ee\u5f55\uff08\u5982\u6709\uff09\u544a\u77e5\u8bbf\u95ee\u8005\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u7684\u7f51\u7ad9\u4f4d\u4e8e &#8220;http:\/\/localhost\/mywebsite&#8221;\uff0c\u5219\u5c06\u5176\u544a\u77e5\u4e3a &#8220;http:\/\/[\u4f60\u7684\u516c\u7f51IP]:[\u670d\u52a1\u5668\u7aef\u53e3]\/mywebsite\u201d\u3002<\/li>\n<\/ul>\n<p><strong>\u8bbf\u95ee\u8005\u5982\u4f55\u8bbf\u95ee\u4f60\u7684\u7f51\u7ad9\uff1f<\/strong><\/p>\n<p>\u8bbf\u95ee\u8005\u53ef\u4ee5\u4f7f\u7528\u4f60\u63d0\u4f9b\u7684 URL \u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u4f60\u7684\u7f51\u7ad9\uff0c\u5982\uff1a<\/p>\n<pre>http:\/\/[\u4f60\u7684\u516c\u7f51IP]:[\u670d\u52a1\u5668\u7aef\u53e3]\/mywebsite<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>\u6ce8\u610f\u4e8b\u9879\uff1a<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u670d\u52a1\u5668\u7aef\u53e3\u4e0e\u9632\u706b\u5899\u89c4\u5219\u4e2d\u6307\u5b9a\u7684\u7aef\u53e3\u4e00\u81f4\u3002<\/li>\n<li>\u5982\u679c\u4f60\u7684\u8def\u7531\u5668\u6709\u9632\u706b\u5899\uff0c\u4f60\u8fd8\u9700\u8981\u5728\u5176\u4e2d\u542f\u7528\u670d\u52a1\u5668\u7aef\u53e3\u3002<\/li>\n<li>\u5982\u679c\u4f60\u7684\u4e92\u8054\u7f51\u670d\u52a1\u63d0\u4f9b\u5546\uff08ISP\uff09\u963b\u6b62\u4e86\u670d\u52a1\u5668\u7aef\u53e3\uff0c\u5219\u9700\u8981\u8054\u7cfb\u4ed6\u4eec\u5bfb\u6c42\u5e2e\u52a9\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662fphpstudy\u5feb\u901f\u642d\u5efa\u7f51\u7ad9\u522b\u4eba\u600e\u8bbf\u95ee\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8FDCServers\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7 php study \u8ba9\u7f51\u7ad9\u5bf9\u5916\u8bbf\u95ee\u9700\u8981\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u914d\u7f6e\u7aef\u53e3\u6620\u5c04\uff0c\u5c06\u670d\u52a1\u5668\u7aef\u53e3\u66f4\u6539\u4e3a\u5916\u90e8\u53ef\u8bbf\u95ee\u7684\u7aef\u53e3\u3002\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219\uff0c\u786e\u4fdd &#8220;php-cgi.exe&#8221; \u5728 &#8220;\u4e13\u7528&#8221; \u548c &#8220;\u516c\u7528&#8221; \u7f51\u7edc\u4e0b\u90fd\u5904\u4e8e\u9009\u4e2d\u72b6\u6001\u3002\u83b7\u53d6\u516c\u7f51 ip\u3002\u5c06\u516c\u7f51 ip\u3001\u670d\u52a1\u5668\u7aef\u53e3\u548c\u7f51\u7ad9\u5b50\u76ee\u5f55\uff08\u5982\u6709\uff09\u544a\u77e5\u8bbf\u95ee\u8005\u3002 \u901a\u8fc7 PHP Study \u5b9e\u73b0\u7f51\u7ad9\u5bf9\u5916\u8bbf\u95ee \u5982\u4f55\u8ba9\u522b\u4eba\u8bbf\u95ee\u901a\u8fc7 PHP Study \u642d\u5efa\u7684\u7f51\u7ad9\uff1f \u6b65\u9aa4 1\uff1a\u914d\u7f6e\u7aef\u53e3\u6620\u5c04 \u6253\u5f00 PHP Study\uff0c\u70b9\u51fb\u201c\u5de5\u5177\u201d\u83dc\u5355 &gt; \u201c\u914d\u7f6e\u201d &gt; \u201c\u7aef\u53e3\u6620\u5c04\u201d\u3002 \u5c06\u201c\u670d\u52a1\u5668\u7aef\u53e3\u201d\u66f4\u6539\u4e3a\u4e00\u4e2a\u5916\u90e8\u53ef\u8bbf\u95ee\u7684\u7aef\u53e3\uff0c\u5982 8080\u3002 \u5c06\u201c\u672c\u5730\u670d\u52a1\u5668\u201d\u7aef\u53e3\u66f4\u6539\u4e3a PHP Study \u7684\u9ed8\u8ba4\u7aef\u53e3\uff0c\u5982 80\u3002 \u6b65\u9aa4 2\uff1a\u6dfb\u52a0\u9632\u706b\u5899\u89c4\u5219 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u6253\u5f00 Windows Defender \u9632\u706b\u5899\uff0c\u70b9\u51fb\u201c\u5141\u8bb8\u5e94\u7528\u6216\u529f\u80fd\u901a\u8fc7 Windows Defender \u9632\u706b\u5899\u201d\u3002 \u70b9\u51fb\u201c\u66f4\u6539\u8bbe\u7f6e\u201d\u6309\u94ae\u3002 \u5728\u201c\u5141\u8bb8\u7684\u5e94\u7528\u548c\u529f\u80fd\u201d\u5217\u8868\u4e2d\uff0c\u627e\u5230\u201cphp-cgi.exe\u201d\uff0c\u5e76\u786e\u4fdd\u5176\u5728\u201c\u4e13\u7528\u201d\u548c\u201c\u516c\u7528\u201d\u7f51\u7edc\u4e0b\u90fd\u5904\u4e8e\u9009\u4e2d\u72b6\u6001\u3002 \u6b65\u9aa4 3\uff1a\u83b7\u53d6\u516c\u7f51 IP \u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee whatismyipaddress.com \u83b7\u53d6\u4f60\u7684\u516c\u7f51 IP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-63346","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/63346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=63346"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/63346\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=63346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=63346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=63346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}