{"id":17862,"date":"2024-11-18T15:09:29","date_gmt":"2024-11-18T07:09:29","guid":{"rendered":"https:\/\/fwq.ai\/blog\/17862\/"},"modified":"2024-11-18T15:09:29","modified_gmt":"2024-11-18T07:09:29","slug":"phpstudy%e6%80%8e%e4%b9%88%e8%bf%9b%e8%87%aa%e5%b7%b1%e7%9a%84%e7%bd%91%e7%ab%99","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/17862\/","title":{"rendered":"phpstudy\u600e\u4e48\u8fdb\u81ea\u5df1\u7684\u7f51\u7ad9"},"content":{"rendered":"<blockquote><p>\n  \u901a\u8fc7 php study \u8bbf\u95ee\u81ea\u5df1\u7684\u7f51\u7ad9\u9700\u8981\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u542f\u52a8 php study\uff0c\u5f00\u542f apache \u548c mysql \u670d\u52a1\u3002\u521b\u5efa\u7f51\u7ad9\u6839\u76ee\u5f55\uff0c\u5e76\u5c06\u7f51\u7ad9\u6587\u4ef6\u62f7\u8d1d\u5230\u6b64\u76ee\u5f55\u3002\u914d\u7f6e php study \u7684 http \u9009\u9879\u5361\uff0c\u8bbe\u7f6e\u670d\u52a1\u5668\u6839\u76ee\u5f55\u4e3a\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u3002\u53d6\u6d88 php study \u7684\u7aef\u53e3\u9650\u5236\u3002\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u7f51\u7ad9\u7684\u57df\u540d\u6216 ip \u5730\u5740\u8bbf\u95ee\u7f51\u7ad9\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/02\/2024040215511452554.jpg\" class=\"aligncenter\" title=\"phpstudy\u600e\u4e48\u8fdb\u81ea\u5df1\u7684\u7f51\u7ad9\u63d2\u56fe\" alt=\"phpstudy\u600e\u4e48\u8fdb\u81ea\u5df1\u7684\u7f51\u7ad9\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u901a\u8fc7 PHP Study \u8bbf\u95ee\u81ea\u5df1\u7684\u7f51\u7ad9<\/strong><\/p>\n<p>PHP Study \u662f\u4e00\u4e2a PHP \u5f00\u53d1\u73af\u5883\uff0c\u5b83\u5305\u542b Apache \u670d\u52a1\u5668\u3001MySQL \u6570\u636e\u5e93\u548c PHP \u5e94\u7528\u7a0b\u5e8f\u3002\u4e3a\u4e86\u901a\u8fc7 PHP Study \u8bbf\u95ee\u81ea\u5df1\u7684\u7f51\u7ad9\uff0c\u9700\u8981\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a<\/p>\n<p><strong>1. \u542f\u52a8 PHP Study<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00 PHP Study \u7684\u4e3b\u754c\u9762\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u542f\u52a8\u201d\u6309\u94ae\u542f\u52a8 Apache \u548c MySQL \u670d\u52a1\u3002<\/li>\n<\/ul>\n<p><strong>2. \u521b\u5efa\u7f51\u7ad9\u6839\u76ee\u5f55<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u5728 PHP Study \u7684\u6839\u76ee\u5f55\u4e0b\uff08\u901a\u5e38\u662f C:phpStudyWWW\uff09\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u4f5c\u4e3a\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u3002<\/li>\n<li>\u4f8b\u5982\uff0c\u53ef\u4ee5\u521b\u5efa\u540d\u4e3a\u201cmy-website\u201d\u7684\u6587\u4ef6\u5939\u3002<\/li>\n<\/ul>\n<p><strong>3. \u5c06\u7f51\u7ad9\u6587\u4ef6\u62f7\u8d1d\u5230\u6839\u76ee\u5f55<\/strong><\/p>\n<ul>\n<li>\u5c06\u7f51\u7ad9\u7684\u6587\u4ef6\uff08\u5305\u62ec HTML\u3001CSS\u3001JavaScript \u548c PHP \u6587\u4ef6\uff09\u62f7\u8d1d\u5230\u521b\u5efa\u7684\u6839\u76ee\u5f55\u4e2d\u3002<\/li>\n<\/ul>\n<p><strong>4. \u914d\u7f6e PHP Study<\/strong><\/p>\n<ul>\n<li>\u70b9\u51fb PHP Study \u4e3b\u754c\u9762\u7684\u201c\u914d\u7f6e\u201d\u6309\u94ae\u3002<\/li>\n<li>\u5728\u201cHTTP\u201d\u9009\u9879\u5361\u4e2d\uff0c\u5c06\u201c\u670d\u52a1\u5668\u6839\u76ee\u5f55\u201d\u8bbe\u7f6e\u4e3a\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u3002<\/li>\n<li>\u4f8b\u5982\uff0c\u8bbe\u7f6e\u4e3a\u201cC:phpStudyWWWmy-website\u201d\u3002<\/li>\n<\/ul>\n<p><strong>5. \u53d6\u6d88\u7aef\u53e3\u9650\u5236<\/strong><\/p>\n<ul>\n<li>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cPHP Study \u5c06 Apache \u670d\u52a1\u5668\u9650\u5236\u5728 127.0.0.1\uff08\u672c\u5730\u4e3b\u673a\uff09\u4e0a\u3002\u4e3a\u4e86\u80fd\u591f\u4ece\u5176\u4ed6\u8bbe\u5907\u8bbf\u95ee\u7f51\u7ad9\uff0c\u9700\u8981\u53d6\u6d88\u6b64\u9650\u5236\u3002<\/li>\n<li>\u5728\u201c\u914d\u7f6e\u201d\u754c\u9762\u4e2d\uff0c\u70b9\u51fb\u201c\u7aef\u53e3\u9650\u5236\u201d\u9009\u9879\u5361\u3002<\/li>\n<li>\u9009\u62e9\u201c\u89e3\u9664\u6240\u6709\u7aef\u53e3\u9650\u5236\u201d\u3002<\/li>\n<\/ul>\n<p><strong>6. \u8bbf\u95ee\u7f51\u7ad9<\/strong><\/p>\n<ul>\n<li>\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u7f51\u7ad9\u7684\u57df\u540d\u6216 IP \u5730\u5740\uff0c\u7136\u540e\u6309\u56de\u8f66\u952e\u3002<\/li>\n<li>\u5982\u679c\u4e00\u5207\u6b63\u5e38\uff0c\u5e94\u8be5\u80fd\u591f\u770b\u5230\u7f51\u7ad9\u3002<\/li>\n<\/ul>\n<p><strong>\u6ce8\u610f:<\/strong><\/p>\n<ul>\n<li>\u7f51\u7ad9\u7684\u57df\u540d\u6216 IP \u5730\u5740\u5e94\u6307\u5411 localhost \u6216 PHP Study \u670d\u52a1\u5668\u7684 IP \u5730\u5740\u3002<\/li>\n<li>\u7f51\u7ad9\u6587\u4ef6\u5fc5\u987b\u5177\u6709\u6b63\u786e\u7684\u6587\u4ef6\u6743\u9650\uff0c\u4ee5\u4fbf Apache \u670d\u52a1\u5668\u53ef\u4ee5\u8bbf\u95ee\u5b83\u4eec\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8fdb\u81ea\u5df1\u7684\u7f51\u7ad9\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fc7 php study \u8bbf\u95ee\u81ea\u5df1\u7684\u7f51\u7ad9\u9700\u8981\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u542f\u52a8 php study\uff0c\u5f00\u542f apache \u548c mysql \u670d\u52a1\u3002\u521b\u5efa\u7f51\u7ad9\u6839\u76ee\u5f55\uff0c\u5e76\u5c06\u7f51\u7ad9\u6587\u4ef6\u62f7\u8d1d\u5230\u6b64\u76ee\u5f55\u3002\u914d\u7f6e php study \u7684 http \u9009\u9879\u5361\uff0c\u8bbe\u7f6e\u670d\u52a1\u5668\u6839\u76ee\u5f55\u4e3a\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u3002\u53d6\u6d88 php study \u7684\u7aef\u53e3\u9650\u5236\u3002\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165\u7f51\u7ad9\u7684\u57df\u540d\u6216 ip \u5730\u5740\u8bbf\u95ee\u7f51\u7ad9\u3002 \u5982\u4f55\u901a\u8fc7 PHP Study \u8bbf\u95ee\u81ea\u5df1\u7684\u7f51\u7ad9 PHP Study \u662f\u4e00\u4e2a PHP \u5f00\u53d1\u73af\u5883\uff0c\u5b83\u5305\u542b Apache \u670d\u52a1\u5668\u3001MySQL \u6570\u636e\u5e93\u548c PHP \u5e94\u7528\u7a0b\u5e8f\u3002\u4e3a\u4e86\u901a\u8fc7 PHP Study \u8bbf\u95ee\u81ea\u5df1\u7684\u7f51\u7ad9\uff0c\u9700\u8981\u6267\u884c\u4ee5\u4e0b\u6b65\u9aa4\uff1a 1. \u542f\u52a8 PHP Study \u6253\u5f00 PHP Study \u7684\u4e3b\u754c\u9762\u3002 \u70b9\u51fb\u201c\u542f\u52a8\u201d\u6309\u94ae\u542f\u52a8 Apache \u548c MySQL \u670d\u52a1\u3002 2. \u521b\u5efa\u7f51\u7ad9\u6839\u76ee\u5f55 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u5728 PHP [&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-17862","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17862","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=17862"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17862\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=17862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=17862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=17862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}