{"id":17865,"date":"2024-11-18T15:01:33","date_gmt":"2024-11-18T07:01:33","guid":{"rendered":"https:\/\/fwq.ai\/blog\/17865\/"},"modified":"2024-11-18T15:01:33","modified_gmt":"2024-11-18T07:01:33","slug":"phpstudy%e9%85%8d%e7%bd%ae%e6%96%87%e4%bb%b6%e5%9c%a8%e5%93%aa%e9%87%8c","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/17865\/","title":{"rendered":"phpstudy\u914d\u7f6e\u6587\u4ef6\u5728\u54ea\u91cc"},"content":{"rendered":"<blockquote><p>\n  phpstudy \u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e\u5b89\u88c5\u76ee\u5f55\u7684 conf \u6587\u4ef6\u5939\u4e0b\u3002\u4e3b\u8981\u5305\u542b web \u670d\u52a1\u5668\u3001\u6570\u636e\u5e93\u3001php \u548c\u5176\u4ed6\u8bbe\u7f6e\u3002\u8981\u8bbf\u95ee\u914d\u7f6e\u6587\u4ef6\uff0c\u8bf7\u6253\u5f00\u4ee5\u4e0b\u6587\u4ef6\uff1aps.conf\uff08\u4e3b\u914d\u7f6e\u6587\u4ef6\uff09\u3001config.ini\uff08web \u670d\u52a1\u5668\u8bbe\u7f6e\uff09\u3001nginx.conf\uff08nginx \u8bbe\u7f6e\uff09\u3001php.ini\uff08php \u8bbe\u7f6e\uff09\u548c mysql.conf\uff08mysql \u8bbe\u7f6e\uff09\u3002\u8c28\u614e\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u5728\u7f16\u8f91\u524d\u505a\u597d\u5907\u4efd\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/02\/2024040216002086322.jpg\" class=\"aligncenter\" title=\"phpstudy\u914d\u7f6e\u6587\u4ef6\u5728\u54ea\u91cc\u63d2\u56fe\" alt=\"phpstudy\u914d\u7f6e\u6587\u4ef6\u5728\u54ea\u91cc\u63d2\u56fe\" \/><\/p>\n<p><strong>phpStudy \u914d\u7f6e\u6587\u4ef6\u4f4d\u7f6e<\/strong><\/p>\n<p>phpStudy \u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e phpStudy \u5b89\u88c5\u76ee\u5f55\u4e2d\u7684 conf \u6587\u4ef6\u5939\u4e0b\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u8be5\u76ee\u5f55\u4f4d\u4e8e\u4ee5\u4e0b\u8def\u5f84\uff1a<\/p>\n<ul>\n<li>Windows\uff1aC:conf<\/li>\n<li>macOS\uff1a\/Applications\/phpStudy\/conf<\/li>\n<li>Linux\uff1a\/opt\/phpstudy\/conf<\/li>\n<\/ul>\n<p><strong>\u914d\u7f6e\u6587\u4ef6\u6982\u8ff0<\/strong><\/p>\n<p>phpStudy \u914d\u7f6e\u6587\u4ef6\u4e3b\u8981\u5305\u542b\u4ee5\u4e0b\u8bbe\u7f6e\uff1a<\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>Web \u670d\u52a1\u5668\u8bbe\u7f6e\uff08\u4f8b\u5982 Apache \u6216 Nginx\uff09<\/li>\n<li>\u6570\u636e\u5e93\u8bbe\u7f6e\uff08\u4f8b\u5982 MySQL \u6216 MariaDB\uff09<\/li>\n<li>PHP \u8bbe\u7f6e\uff08\u4f8b\u5982 \u7248\u672c\u548c\u6269\u5c55\uff09<\/li>\n<li>\u5176\u4ed6\u8bbe\u7f6e\uff08\u4f8b\u5982 \u7aef\u53e3\u548c\u5de5\u4f5c\u76ee\u5f55\uff09<\/li>\n<\/ul>\n<p><strong>\u8bbf\u95ee\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<p>\u8981\u8bbf\u95ee phpStudy \u914d\u7f6e\u6587\u4ef6\uff0c\u8bf7\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6216 IDE\uff08\u4f8b\u5982\u8bb0\u4e8b\u672c\u3001Sublime Text \u6216 Visual Studio Code\uff09\u6253\u5f00\u4ee5\u4e0b\u6587\u4ef6\uff1a<\/p>\n<ul>\n<li>ps.conf\uff1a\u4e3b\u914d\u7f6e\u6587\u4ef6\uff0c\u5305\u542b\u6240\u6709\u8bbe\u7f6e\u3002<\/li>\n<li>config.ini\uff1a\u4e0e Web \u670d\u52a1\u5668\u76f8\u5173\u7684\u8bbe\u7f6e\u3002<\/li>\n<li> .conf\uff1a\u4e0e Nginx Web \u670d\u52a1\u5668\u76f8\u5173\u7684\u8bbe\u7f6e\u3002<\/li>\n<li>php.ini\uff1a\u4e0e PHP \u76f8\u5173\u7684\u8bbe\u7f6e\u3002<\/li>\n<li>mysql.conf\uff1a\u4e0e MySQL \u6570\u636e\u5e93\u76f8\u5173\u7684\u8bbe\u7f6e\u3002<\/li>\n<\/ul>\n<p><strong>\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<p>\u8bf7\u8c28\u614e\u4fee\u6539 phpStudy \u914d\u7f6e\u6587\u4ef6\u3002\u9519\u8bef\u7684\u914d\u7f6e\u53ef\u80fd\u4f1a\u5bfc\u81f4 phpStudy \u51fa\u73b0\u95ee\u9898\u6216\u505c\u6b62\u5de5\u4f5c\u3002\u5728\u7f16\u8f91\u914d\u7f6e\u6587\u4ef6\u4e4b\u524d\uff0c\u8bf7\u52a1\u5fc5\u5907\u4efd\u5b83\u4eec\u3002<\/p>\n<p>\u8981\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\uff0c\u8bf7\u6253\u5f00\u76f8\u5e94\u7684\u914d\u7f6e\u6587\u4ef6\u5e76\u8fdb\u884c\u5fc5\u8981\u7684\u66f4\u6539\u3002\u4fdd\u5b58\u66f4\u6539\u540e\uff0cphpStudy \u5c06\u5728\u4e0b\u6b21\u542f\u52a8\u65f6\u81ea\u52a8\u52a0\u8f7d\u66f4\u65b0\u7684\u914d\u7f6e\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u914d\u7f6e\u6587\u4ef6\u5728\u54ea\u91cc\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>phpstudy \u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e\u5b89\u88c5\u76ee\u5f55\u7684 conf \u6587\u4ef6\u5939\u4e0b\u3002\u4e3b\u8981\u5305\u542b web \u670d\u52a1\u5668\u3001\u6570\u636e\u5e93\u3001php \u548c\u5176\u4ed6\u8bbe\u7f6e\u3002\u8981\u8bbf\u95ee\u914d\u7f6e\u6587\u4ef6\uff0c\u8bf7\u6253\u5f00\u4ee5\u4e0b\u6587\u4ef6\uff1aps.conf\uff08\u4e3b\u914d\u7f6e\u6587\u4ef6\uff09\u3001config.ini\uff08web \u670d\u52a1\u5668\u8bbe\u7f6e\uff09\u3001nginx.conf\uff08nginx \u8bbe\u7f6e\uff09\u3001php.ini\uff08php \u8bbe\u7f6e\uff09\u548c mysql.conf\uff08mysql \u8bbe\u7f6e\uff09\u3002\u8c28\u614e\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\uff0c\u5e76\u5728\u7f16\u8f91\u524d\u505a\u597d\u5907\u4efd\u3002 phpStudy \u914d\u7f6e\u6587\u4ef6\u4f4d\u7f6e phpStudy \u914d\u7f6e\u6587\u4ef6\u4f4d\u4e8e phpStudy \u5b89\u88c5\u76ee\u5f55\u4e2d\u7684 conf \u6587\u4ef6\u5939\u4e0b\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u8be5\u76ee\u5f55\u4f4d\u4e8e\u4ee5\u4e0b\u8def\u5f84\uff1a Windows\uff1aC:conf macOS\uff1a\/Applications\/phpStudy\/conf Linux\uff1a\/opt\/phpstudy\/conf \u914d\u7f6e\u6587\u4ef6\u6982\u8ff0 phpStudy \u914d\u7f6e\u6587\u4ef6\u4e3b\u8981\u5305\u542b\u4ee5\u4e0b\u8bbe\u7f6e\uff1a \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b Web \u670d\u52a1\u5668\u8bbe\u7f6e\uff08\u4f8b\u5982 Apache \u6216 Nginx\uff09 \u6570\u636e\u5e93\u8bbe\u7f6e\uff08\u4f8b\u5982 MySQL \u6216 MariaDB\uff09 PHP \u8bbe\u7f6e\uff08\u4f8b\u5982 \u7248\u672c\u548c\u6269\u5c55\uff09 \u5176\u4ed6\u8bbe\u7f6e\uff08\u4f8b\u5982 \u7aef\u53e3\u548c\u5de5\u4f5c\u76ee\u5f55\uff09 \u8bbf\u95ee\u914d\u7f6e\u6587\u4ef6 \u8981\u8bbf\u95ee phpStudy \u914d\u7f6e\u6587\u4ef6\uff0c\u8bf7\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6216 IDE\uff08\u4f8b\u5982\u8bb0\u4e8b\u672c\u3001Sublime Text \u6216 Visual Studio Code\uff09\u6253\u5f00\u4ee5\u4e0b\u6587\u4ef6\uff1a ps.conf\uff1a\u4e3b\u914d\u7f6e\u6587\u4ef6\uff0c\u5305\u542b\u6240\u6709\u8bbe\u7f6e\u3002 config.ini\uff1a\u4e0e Web \u670d\u52a1\u5668\u76f8\u5173\u7684\u8bbe\u7f6e\u3002 [&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-17865","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17865","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=17865"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17865\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=17865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=17865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=17865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}