{"id":17835,"date":"2024-11-18T12:24:27","date_gmt":"2024-11-18T04:24:27","guid":{"rendered":"https:\/\/fwq.ai\/blog\/17835\/"},"modified":"2024-11-18T12:24:27","modified_gmt":"2024-11-18T04:24:27","slug":"phpstudy%e5%90%af%e5%8a%a8%e4%b8%8d%e4%ba%86%e6%80%8e%e4%b9%88%e8%a7%a3%e5%86%b3","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/17835\/","title":{"rendered":"phpstudy\u542f\u52a8\u4e0d\u4e86\u600e\u4e48\u89e3\u51b3"},"content":{"rendered":"<blockquote><p>\n  phpstudy \u542f\u52a8\u4e0d\u4e86\u89e3\u51b3\u529e\u6cd5\uff1a1. \u68c0\u67e5\u7aef\u53e3\u662f\u5426\u51b2\u7a81\uff1b2. \u786e\u4fdd\u670d\u52a1\u5df2\u542f\u52a8\uff1b3. \u68c0\u67e5\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u6b63\u786e\uff1b4. \u68c0\u67e5\u5b89\u88c5\u8def\u5f84\u662f\u5426\u6b63\u786e\uff1b5. \u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e\uff1b6. \u6392\u9664\u6740\u6bd2\u8f6f\u4ef6\u6216\u7cfb\u7edf\u8d44\u6e90\u4e0d\u8db3\u7b49\u5176\u4ed6\u539f\u56e0\u3002\n<\/p><\/blockquote>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/202404\/02\/2024040214151934943.jpg\" class=\"aligncenter\" title=\"phpstudy\u542f\u52a8\u4e0d\u4e86\u600e\u4e48\u89e3\u51b3\u63d2\u56fe\" alt=\"phpstudy\u542f\u52a8\u4e0d\u4e86\u600e\u4e48\u89e3\u51b3\u63d2\u56fe\" \/><\/p>\n<p><strong>PHPStudy \u542f\u52a8\u4e0d\u4e86\u7684\u89e3\u51b3\u529e\u6cd5<\/strong><\/p>\n<p><strong>\u539f\u56e0\u4e00\uff1a\u7aef\u53e3\u51b2\u7a81<\/strong><\/p>\n<ul>\n<li>\u68c0\u67e5\u662f\u5426\u5df2\u5360\u7528 80\u30013306\u300111211 \u7aef\u53e3\u3002<\/li>\n<li>\u53ef\u4f7f\u7528 netstat -ano | findstr 80 \u7b49\u547d\u4ee4\u67e5\u770b\u5360\u7528\u7aef\u53e3\u7684\u8fdb\u7a0b\uff0c\u7136\u540e\u7ed3\u675f\u76f8\u5e94\u8fdb\u7a0b\u3002<\/li>\n<\/ul>\n<p><strong>\u539f\u56e0\u4e8c\uff1a\u670d\u52a1\u672a\u542f\u52a8<\/strong><\/p>\n<ul>\n<li>\u6253\u5f00 PHPStudy \u63a7\u5236\u9762\u677f\uff0c\u786e\u4fdd MySQL\u3001Apache\u3001Memcached \u7b49\u670d\u52a1\u5df2\u542f\u52a8\u3002<\/li>\n<li>\u5982\u679c\u670d\u52a1\u672a\u542f\u52a8\uff0c\u53ef\u5c1d\u8bd5\u624b\u52a8\u542f\u52a8\u6216\u91cd\u542f\u3002<\/li>\n<\/ul>\n<p><strong>\u539f\u56e0\u4e09\uff1a\u914d\u7f6e\u6587\u4ef6\u9519\u8bef<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u68c0\u67e5 phpstudyconfig \u76ee\u5f55\u4e0b\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u786e\u4fdd\u914d\u7f6e\u6b63\u786e\u3002<\/li>\n<li>\u7279\u522b\u6ce8\u610f php.ini \u548c httpd.conf \u6587\u4ef6\uff0c\u786e\u4fdd PHP \u548c Apache \u7684\u914d\u7f6e\u7b26\u5408\u8981\u6c42\u3002<\/li>\n<\/ul>\n<p><strong>\u539f\u56e0\u56db\uff1a\u8def\u5f84\u9519\u8bef<\/strong><\/p>\n<ul>\n<li>\u68c0\u67e5 PHPStudy \u5b89\u88c5\u8def\u5f84\u662f\u5426\u6b63\u786e\uff0c\u786e\u4fdd PHP \u548c Apache \u7684\u53ef\u6267\u884c\u6587\u4ef6\u80fd\u88ab\u627e\u5230\u3002<\/li>\n<li>\u53ef\u4fee\u6539 phpstudyconfigphp.ini \u6587\u4ef6\uff0c\u5c06 extension_dir \u548c include_path \u8bbe\u7f6e\u4e3a\u6b63\u786e\u7684\u8def\u5f84\u3002<\/li>\n<\/ul>\n<p><strong>\u539f\u56e0\u4e94\uff1a\u9632\u706b\u5899\u963b\u6b62<\/strong><\/p>\n<ul>\n<li>\u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e\uff0c\u786e\u4fdd PHPStudy \u9700\u8981\u7684\u7aef\u53e3\u6ca1\u6709\u88ab\u963b\u6b62\u3002<\/li>\n<li>\u53ef\u4e34\u65f6\u5173\u95ed\u9632\u706b\u5899\uff0c\u6216\u6dfb\u52a0 PHPStudy \u76f8\u5173\u7684\u4f8b\u5916\u89c4\u5219\u3002<\/li>\n<\/ul>\n<p><strong>\u539f\u56e0\u516d\uff1a\u5176\u4ed6\u539f\u56e0<\/strong><\/p>\n<ul>\n<li>\u6740\u6bd2\u8f6f\u4ef6\u53ef\u80fd\u4f1a\u5c06 PHPStudy \u8bef\u62a5\u4e3a\u75c5\u6bd2\uff0c\u5bfc\u81f4\u65e0\u6cd5\u542f\u52a8\u3002\u53ef\u6682\u65f6\u5173\u95ed\u6740\u6bd2\u8f6f\u4ef6\u3002<\/li>\n<li>\u7cfb\u7edf\u8d44\u6e90\u4e0d\u8db3\u4e5f\u4f1a\u5bfc\u81f4 PHPStudy \u542f\u52a8\u5931\u8d25\u3002\u5173\u95ed\u4e0d\u5fc5\u8981\u7684\u7a0b\u5e8f\u6216\u5347\u7ea7\u7cfb\u7edf\u914d\u7f6e\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662fphpstudy\u542f\u52a8\u4e0d\u4e86\u600e\u4e48\u89e3\u51b3\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 \u542f\u52a8\u4e0d\u4e86\u89e3\u51b3\u529e\u6cd5\uff1a1. \u68c0\u67e5\u7aef\u53e3\u662f\u5426\u51b2\u7a81\uff1b2. \u786e\u4fdd\u670d\u52a1\u5df2\u542f\u52a8\uff1b3. \u68c0\u67e5\u914d\u7f6e\u6587\u4ef6\u662f\u5426\u6b63\u786e\uff1b4. \u68c0\u67e5\u5b89\u88c5\u8def\u5f84\u662f\u5426\u6b63\u786e\uff1b5. \u68c0\u67e5\u9632\u706b\u5899\u8bbe\u7f6e\uff1b6. \u6392\u9664\u6740\u6bd2\u8f6f\u4ef6\u6216\u7cfb\u7edf\u8d44\u6e90\u4e0d\u8db3\u7b49\u5176\u4ed6\u539f\u56e0\u3002 PHPStudy \u542f\u52a8\u4e0d\u4e86\u7684\u89e3\u51b3\u529e\u6cd5 \u539f\u56e0\u4e00\uff1a\u7aef\u53e3\u51b2\u7a81 \u68c0\u67e5\u662f\u5426\u5df2\u5360\u7528 80\u30013306\u300111211 \u7aef\u53e3\u3002 \u53ef\u4f7f\u7528 netstat -ano | findstr 80 \u7b49\u547d\u4ee4\u67e5\u770b\u5360\u7528\u7aef\u53e3\u7684\u8fdb\u7a0b\uff0c\u7136\u540e\u7ed3\u675f\u76f8\u5e94\u8fdb\u7a0b\u3002 \u539f\u56e0\u4e8c\uff1a\u670d\u52a1\u672a\u542f\u52a8 \u6253\u5f00 PHPStudy \u63a7\u5236\u9762\u677f\uff0c\u786e\u4fdd MySQL\u3001Apache\u3001Memcached \u7b49\u670d\u52a1\u5df2\u542f\u52a8\u3002 \u5982\u679c\u670d\u52a1\u672a\u542f\u52a8\uff0c\u53ef\u5c1d\u8bd5\u624b\u52a8\u542f\u52a8\u6216\u91cd\u542f\u3002 \u539f\u56e0\u4e09\uff1a\u914d\u7f6e\u6587\u4ef6\u9519\u8bef \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u68c0\u67e5 phpstudyconfig \u76ee\u5f55\u4e0b\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u786e\u4fdd\u914d\u7f6e\u6b63\u786e\u3002 \u7279\u522b\u6ce8\u610f php.ini \u548c httpd.conf \u6587\u4ef6\uff0c\u786e\u4fdd PHP \u548c Apache \u7684\u914d\u7f6e\u7b26\u5408\u8981\u6c42\u3002 \u539f\u56e0\u56db\uff1a\u8def\u5f84\u9519\u8bef \u68c0\u67e5 PHPStudy \u5b89\u88c5\u8def\u5f84\u662f\u5426\u6b63\u786e\uff0c\u786e\u4fdd PHP \u548c Apache \u7684\u53ef\u6267\u884c\u6587\u4ef6\u80fd\u88ab\u627e\u5230\u3002 \u53ef\u4fee\u6539 phpstudyconfigphp.ini \u6587\u4ef6\uff0c\u5c06 extension_dir \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-17835","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17835","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=17835"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/17835\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=17835"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=17835"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=17835"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}