{"id":63363,"date":"2025-04-29T11:29:48","date_gmt":"2025-04-29T03:29:48","guid":{"rendered":"https:\/\/fwq.ai\/blog\/63363\/"},"modified":"2025-04-29T11:29:48","modified_gmt":"2025-04-29T03:29:48","slug":"phpstudy%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8c%e9%a1%b9%e7%9b%ae-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/63363\/","title":{"rendered":"phpstudy\u600e\u4e48\u8fd0\u884c\u9879\u76ee"},"content":{"rendered":"<blockquote><p>\n  \u4f7f\u7528 phpstudy \u8fd0\u884c php \u9879\u76ee\u7684\u6b65\u9aa4\uff1a\u5b89\u88c5 phpstudy\uff1b\u521b\u5efa\u9879\u76ee\u76ee\u5f55\u5e76\u5c06\u9879\u76ee\u6587\u4ef6\u590d\u5236\u5230\u8be5\u76ee\u5f55\u4e2d\uff1b\u542f\u52a8 phpstudy\uff1b\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 http:\/\/localhost\/my_project \u8bbf\u95ee\u9879\u76ee\u3002\u5e38\u89c1\u95ee\u9898\uff1aphpstudy \u65e0\u6cd5\u542f\u52a8 apache \u6216 mysql\uff1a\u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e\u548c\u5c1d\u8bd5\u91cd\u65b0\u5b89\u88c5 phpstudy\uff1b\u9879\u76ee\u65e0\u6cd5\u663e\u793a\uff1a\u786e\u4fdd\u9879\u76ee\u76ee\u5f55\u4f4d\u4e8e phpstudy \u7684 web \u6839\u76ee\u5f55\u4e2d\u3001\u68c0\u67e5\u4ee3\u7801\u8bed\u6cd5\u9519\u8bef\u548c\u5237\u65b0\u6d4f\u89c8\u5668\u6216\u6e05\u9664\u6d4f\u89c8\u5668\u7f13\u5b58\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/02\/2024040215091543827.jpg\" class=\"aligncenter\" title=\"phpstudy\u600e\u4e48\u8fd0\u884c\u9879\u76ee\u63d2\u56fe\" alt=\"phpstudy\u600e\u4e48\u8fd0\u884c\u9879\u76ee\u63d2\u56fe\" \/><\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528 PHPStudy \u8fd0\u884c\u9879\u76ee<\/strong><\/p>\n<p>\u8fd0\u884c PHP \u9879\u76ee\u9700\u8981\u4e00\u4e2a Web \u670d\u52a1\u5668\uff0cPHPStudy \u5c31\u662f\u4e00\u4e2a\u96c6\u6210\u4e86 Apache\u3001MySQL\u3001PHP \u7b49\u73af\u5883\u7684\u5de5\u5177\uff0c\u65b9\u4fbf\u5f00\u53d1\u8005\u5feb\u901f\u642d\u5efa\u548c\u8fd0\u884c PHP \u9879\u76ee\u3002\u4e0b\u9762\u662f\u4f7f\u7528 PHPStudy \u8fd0\u884c\u9879\u76ee\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a<\/p>\n<p><strong>1. \u5b89\u88c5 PHPStudy<\/strong><\/p>\n<ul>\n<li>\u4ece PHPStudy \u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5\u5305\uff0c\u5e76\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u3002<\/li>\n<\/ul>\n<p><strong>2. \u521b\u5efa\u9879\u76ee\u76ee\u5f55<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u5728\u4f60\u5e0c\u671b\u653e\u7f6e\u9879\u76ee\u6587\u4ef6\u7684\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\u5939\uff0c\u4f8b\u5982 C:wampwwwmy_project\u3002<\/li>\n<\/ul>\n<p><strong>3. \u590d\u5236\u9879\u76ee\u6587\u4ef6<\/strong><\/p>\n<ul>\n<li>\u5c06\u4f60\u7684\u9879\u76ee\u6587\u4ef6\u590d\u5236\u5230\u521b\u5efa\u7684\u6587\u4ef6\u5939\u4e2d\u3002<\/li>\n<\/ul>\n<p><strong>4. \u542f\u52a8 PHPStudy<\/strong><\/p>\n<ul>\n<li>\u53cc\u51fb PHPStudy \u6258\u76d8\u56fe\u6807\uff0c\u9009\u62e9\u201c\u542f\u52a8\u201d\u547d\u4ee4\u3002<\/li>\n<li>\u7a0d\u7b49\u7247\u523b\uff0cApache \u548c MySQL \u5c06\u542f\u52a8\u3002<\/li>\n<\/ul>\n<p><strong>5. \u8bbf\u95ee\u9879\u76ee<\/strong><\/p>\n<ul>\n<li>\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 http:\/\/localhost\/my_project\uff0c\u5373\u53ef\u8bbf\u95ee\u4f60\u7684\u9879\u76ee\u3002<\/li>\n<\/ul>\n<p><strong>\u5e38\u89c1\u95ee\u9898<\/strong><\/p>\n<p><strong>Q\uff1aPHPStudy \u65e0\u6cd5\u542f\u52a8 Apache \u6216 MySQL<\/strong><\/p>\n<ul>\n<li>\u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e\u662f\u5426\u963b\u6b62\u4e86 PHPStudy \u8bbf\u95ee\u5fc5\u8981\u7684\u7aef\u53e3\uff08\u901a\u5e38\u4e3a 80 \u548c 3306\uff09\u3002<\/li>\n<li>\u5c1d\u8bd5\u91cd\u65b0\u5b89\u88c5 PHPStudy\u3002<\/li>\n<\/ul>\n<p><strong>Q\uff1a\u6211\u7684\u9879\u76ee\u65e0\u6cd5\u663e\u793a<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u9879\u76ee\u76ee\u5f55\u4f4d\u4e8e PHPStudy \u7684 Web \u6839\u76ee\u5f55\u4e2d\uff08\u901a\u5e38\u4e3a C:wampwww\uff09\u3002<\/li>\n<li>\u68c0\u67e5\u4f60\u7684\u4ee3\u7801\u4e2d\u662f\u5426\u5b58\u5728\u8bed\u6cd5\u9519\u8bef\u3002<\/li>\n<li>\u5237\u65b0\u6d4f\u89c8\u5668\u6216\u5c1d\u8bd5\u6e05\u9664\u6d4f\u89c8\u5668\u7f13\u5b58\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8fd0\u884c\u9879\u76ee\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>\u4f7f\u7528 phpstudy \u8fd0\u884c php \u9879\u76ee\u7684\u6b65\u9aa4\uff1a\u5b89\u88c5 phpstudy\uff1b\u521b\u5efa\u9879\u76ee\u76ee\u5f55\u5e76\u5c06\u9879\u76ee\u6587\u4ef6\u590d\u5236\u5230\u8be5\u76ee\u5f55\u4e2d\uff1b\u542f\u52a8 phpstudy\uff1b\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165 http:\/\/localhost\/my_project \u8bbf\u95ee\u9879\u76ee\u3002\u5e38\u89c1\u95ee\u9898\uff1aphpstudy \u65e0\u6cd5\u542f\u52a8 apache \u6216 mysql\uff1a\u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e\u548c\u5c1d\u8bd5\u91cd\u65b0\u5b89\u88c5 phpstudy\uff1b\u9879\u76ee\u65e0\u6cd5\u663e\u793a\uff1a\u786e\u4fdd\u9879\u76ee\u76ee\u5f55\u4f4d\u4e8e phpstudy \u7684 web \u6839\u76ee\u5f55\u4e2d\u3001\u68c0\u67e5\u4ee3\u7801\u8bed\u6cd5\u9519\u8bef\u548c\u5237\u65b0\u6d4f\u89c8\u5668\u6216\u6e05\u9664\u6d4f\u89c8\u5668\u7f13\u5b58\u3002 \u5982\u4f55\u4f7f\u7528 PHPStudy \u8fd0\u884c\u9879\u76ee \u8fd0\u884c PHP \u9879\u76ee\u9700\u8981\u4e00\u4e2a Web \u670d\u52a1\u5668\uff0cPHPStudy \u5c31\u662f\u4e00\u4e2a\u96c6\u6210\u4e86 Apache\u3001MySQL\u3001PHP \u7b49\u73af\u5883\u7684\u5de5\u5177\uff0c\u65b9\u4fbf\u5f00\u53d1\u8005\u5feb\u901f\u642d\u5efa\u548c\u8fd0\u884c PHP \u9879\u76ee\u3002\u4e0b\u9762\u662f\u4f7f\u7528 PHPStudy \u8fd0\u884c\u9879\u76ee\u7684\u8be6\u7ec6\u6b65\u9aa4\uff1a 1. \u5b89\u88c5 PHPStudy \u4ece PHPStudy \u5b98\u7f51\u4e0b\u8f7d\u5b89\u88c5\u5305\uff0c\u5e76\u6309\u7167\u63d0\u793a\u5b8c\u6210\u5b89\u88c5\u3002 2. \u521b\u5efa\u9879\u76ee\u76ee\u5f55 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u5728\u4f60\u5e0c\u671b\u653e\u7f6e\u9879\u76ee\u6587\u4ef6\u7684\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u6587\u4ef6\u5939\uff0c\u4f8b\u5982 C:wampwwwmy_project\u3002 3. \u590d\u5236\u9879\u76ee\u6587\u4ef6 \u5c06\u4f60\u7684\u9879\u76ee\u6587\u4ef6\u590d\u5236\u5230\u521b\u5efa\u7684\u6587\u4ef6\u5939\u4e2d\u3002 4. \u542f\u52a8 PHPStudy \u53cc\u51fb PHPStudy \u6258\u76d8\u56fe\u6807\uff0c\u9009\u62e9\u201c\u542f\u52a8\u201d\u547d\u4ee4\u3002 \u7a0d\u7b49\u7247\u523b\uff0cApache \u548c [&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-63363","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/63363","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=63363"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/63363\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=63363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=63363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=63363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}