{"id":43,"date":"2025-10-23T08:39:54","date_gmt":"2025-10-23T00:39:54","guid":{"rendered":"https:\/\/www.zhaozhao123.cn\/muban\/?p=43"},"modified":"2025-10-23T08:39:54","modified_gmt":"2025-10-23T00:39:54","slug":"wampserver-%e5%b7%b2%e5%9c%a8%e6%9c%ac%e5%9c%b0%e5%ae%89%e8%a3%85%ef%bc%8c%e4%bd%86%e6%98%af%e6%88%91%e9%9c%80%e8%a6%81%e5%8d%87%e7%ba%a7%e7%89%88%e6%9c%ac%ef%bc%8c%e5%a6%82%e4%bd%95%e6%93%8d%e4%bd%9c","status":"publish","type":"post","link":"https:\/\/www.zhaozhao123.cn\/muban\/post\/43.html","title":{"rendered":"wampserver \u5df2\u5728\u672c\u5730\u5b89\u88c5\uff0c\u4f46\u662f\u6211\u9700\u8981\u5347\u7ea7\u7248\u672c\uff0c\u5982\u4f55\u64cd\u4f5c\uff1f"},"content":{"rendered":"<blockquote class=\"wp-block-quote is-style-plain has-huangffff-00-background-color has-background is-layout-flow wp-block-quote-is-layout-flow is-style-plain--1\">\n<p>\u6ce8\uff1a\u8981\u5148\u5907\u4efd\u6570\u636e\u540e\u5378\u8f7d\u5f53\u524d\u7248\u672c\u540e\uff0c\u5728\u5b89\u88c5\u65b0\u7248\u672c\uff1b\u65b0\u7248\u672c\u65e0\u6cd5\u8986\u76d6\u8001\u7248\u672c\u3002<\/p>\n<\/blockquote><p>\u5347\u7ea7 Wampserver \u7248\u672c\u9700\u8c28\u614e\u64cd\u4f5c\uff0c\u4ee5\u4e0b\u662f\u7efc\u5408\u591a\u4e2a\u53ef\u9760\u6765\u6e90\u6574\u7406\u7684\u5b8c\u6574\u6b65\u9aa4\u53ca\u6ce8\u610f\u4e8b\u9879\uff1a<\/p><hr class=\"wp-block-separator has-alpha-channel-opacity\"><h2 class=\"wp-block-heading\"><strong>\ud83d\udd27\u00a0\u4e00\u3001\u5347\u7ea7\u524d\u51c6\u5907\uff08\u5173\u952e\u6b65\u9aa4\uff09<\/strong><\/h2><ol class=\"wp-block-list\">\n<li><strong>\u5907\u4efd\u6240\u6709\u6570\u636e<\/strong><ul><li>\u7f51\u7ad9\u6587\u4ef6\uff1a\u590d\u5236\u00a0<code>www<\/code>\u00a0\u76ee\u5f55\uff08\u9ed8\u8ba4\u8def\u5f84\u00a0<code>C:wamp64www<\/code>\uff09\u5230\u5b89\u5168\u4f4d\u7f6e\u3002<\/li><li>\u6570\u636e\u5e93\uff1a\u901a\u8fc7\u547d\u4ee4\u5907\u4efd\u6240\u6709\u6570\u636e\u5e93\uff08\u9700\u6253\u5f00 Wampserver \u7684 MySQL \u547d\u4ee4\u884c\uff09\uff1a<\/li><\/ul>bash<code>mysqldump -u root -p --all-databases &gt; full_backup.sql <\/code>\u8f93\u5165\u5bc6\u7801\u540e\u751f\u6210\u5907\u4efd\u6587\u4ef6\u3002<\/li>\n\n\n\n<li><strong>\u8bb0\u5f55\u5f53\u524d\u914d\u7f6e<\/strong><br>\u4fdd\u5b58\u00a0<code>php.ini<\/code>\u3001<code>httpd.conf<\/code>\uff08Apache \u914d\u7f6e\uff09\u3001<code>my.ini<\/code>\uff08MySQL \u914d\u7f6e\uff09\u7b49\u6587\u4ef6\uff0c\u907f\u514d\u5347\u7ea7\u540e\u914d\u7f6e\u4e22\u5931\u3002<\/li>\n<\/ol><hr class=\"wp-block-separator has-alpha-channel-opacity\"><h2 class=\"wp-block-heading\"><strong>\u2b06\ufe0f\u00a0\u4e8c\u3001\u6b63\u5f0f\u5347\u7ea7\u6b65\u9aa4<\/strong><\/h2><ol class=\"wp-block-list\">\n<li><strong>\u505c\u6b62 Wampserver \u670d\u52a1<\/strong><br>\u53f3\u952e\u4efb\u52a1\u680f Wampserver \u56fe\u6807 \u2192 \u9009\u62e9\u00a0<strong>Stop All Services<\/strong>\u3002<\/li>\n\n\n\n<li><strong>\u5378\u8f7d\u65e7\u7248\u672c<\/strong><br>\u901a\u8fc7\u63a7\u5236\u9762\u677f\u5378\u8f7d Wampserver\uff08\u4fdd\u7559\u00a0<code>www<\/code>\u00a0\u548c\u6570\u636e\u5e93\u5907\u4efd\u6587\u4ef6\uff09\u3002<\/li>\n\n\n\n<li><strong>\u4e0b\u8f7d\u65b0\u7248 Wampserver<\/strong><br>\u4ece\u5b98\u7f51\u4e0b\u8f7d\u6700\u65b0\u5b89\u88c5\u5305\uff0c\u786e\u4fdd\u9009\u62e9\u4e0e\u7cfb\u7edf\u5339\u914d\u7684\u7248\u672c\uff0832\/64\u4f4d\uff09\u3002<\/li>\n\n\n\n<li><strong>\u5b89\u88c5\u65b0\u7248\u672c<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u8fd0\u884c\u5b89\u88c5\u7a0b\u5e8f\uff0c\u8def\u5f84<strong>\u4e0d\u8981<\/strong>\u4e0e\u65e7\u7248\u672c\u76f8\u540c\uff08\u4f8b\u5982\u6539\u7528\u00a0<code>C:wamp64_new<\/code>\uff09\u3002<\/li>\n\n\n\n<li>\u5b89\u88c5\u65f6\u82e5\u63d0\u793a VC++ \u8fd0\u884c\u5e93\uff0c\u9700\u6309\u9700\u5b89\u88c5\uff08\u901a\u5e38\u5b89\u88c5\u5305\u4f1a\u81ea\u52a8\u68c0\u6d4b\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u6062\u590d\u6570\u636e<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u7f51\u7ad9\u6587\u4ef6\uff1a\u590d\u5236\u5907\u4efd\u7684\u00a0<code>www<\/code>\u00a0\u5185\u5bb9\u5230\u65b0\u5b89\u88c5\u76ee\u5f55\u7684\u00a0<code>www<\/code>\u00a0\u6587\u4ef6\u5939\u3002<\/li>\n\n\n\n<li>\u6570\u636e\u5e93\uff1a\u901a\u8fc7 MySQL \u547d\u4ee4\u884c\u5bfc\u5165\u5907\u4efd\uff1a<\/li>\n<\/ul>\n<\/li>\n<\/ol><pre class=\"wp-block-code\"><code><code>mysql -u root -p &lt; full_backup.sql<\/code><\/code><\/pre><hr class=\"wp-block-separator has-alpha-channel-opacity\"><h2 class=\"wp-block-heading\"><strong>\u26a0\ufe0f\u00a0\u4e09\u3001\u5e38\u89c1\u95ee\u9898\u89e3\u51b3<\/strong><\/h2><p>\u5347\u7ea7\u540e\u82e5\u670d\u52a1\u65e0\u6cd5\u542f\u52a8\uff0c\u9700\u68c0\u67e5\uff1a<\/p><ol class=\"wp-block-list\">\n<li><strong>\u7aef\u53e3\u51b2\u7a81<\/strong>\uff08Apache\/MySQL\uff09\n<ul class=\"wp-block-list\">\n<li>\u4fee\u6539 Apache \u7aef\u53e3\uff1a\u7f16\u8f91\u00a0<code>httpd.conf<\/code>\uff0c\u5c06\u00a0<code>Listen 80<\/code>\u00a0\u6539\u4e3a\u00a0<code>Listen 8080<\/code>\u3002<\/li>\n\n\n\n<li>\u4fee\u6539 MySQL \u7aef\u53e3\uff1a\u7f16\u8f91\u00a0<code>my.ini<\/code>\uff0c\u8c03\u6574\u00a0<code>port=3307<\/code>\uff08\u907f\u5f00\u5e38\u7528\u7aef\u53e3\uff09\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>VC++ \u8fd0\u884c\u5e93\u7f3a\u5931<\/strong><br>\u5b89\u88c5\u00a0Microsoft Visual C++ Redistributable\uff08\u6839\u636e\u7cfb\u7edf\u9009\u62e9 x86\/x64\uff09\u3002<\/li>\n\n\n\n<li><strong>PHP \u6269\u5c55\u517c\u5bb9\u6027<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u65b0\u7248 PHP \u53ef\u80fd\u7f3a\u5c11\u65e7\u6269\u5c55\uff08\u5982 xdebug\uff09\u3002\u9700\u624b\u52a8\u4e0b\u8f7d<strong>\u7ebf\u7a0b\u5b89\u5168\uff08Thread Safe\uff09\u7248\u672c<\/strong>\u7684 DLL \u6587\u4ef6\uff0c\u653e\u5165\u00a0<code>phpext<\/code>\u00a0\u76ee\u5f55\uff0c\u5e76\u5728\u00a0<code>php.ini<\/code>\u00a0\u4e2d\u542f\u7528\u3002<\/li>\n\n\n\n<li>\u793a\u4f8b\uff1axdebug \u9700\u4ece\u00a0xdebug.org\u00a0\u4e0b\u8f7d\u5bf9\u5e94\u7248\u672c\u3002<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u914d\u7f6e\u6587\u4ef6\u8def\u5f84\u9519\u8bef<\/strong><br>\u82e5 Apache \u65e0\u6cd5\u52a0\u8f7d PHP \u6a21\u5757\uff0c\u68c0\u67e5\u00a0<code>httpd.conf<\/code>\u00a0\u4e2d\u8def\u5f84\u662f\u5426\u6307\u5411\u65b0 PHP \u76ee\u5f55\uff0c\u4f8b\u5982\uff1aapache<code>LoadModule php_module \"C:\/wamp64\/bin\/php\/php8.0.3\/php8apache2_4.dll\" <\/code><strong>\u6ce8\u610f<\/strong>\uff1a\u6a21\u5757\u540d\u4ecd\u4e3a\u00a0<code>php_module<\/code>\uff0c<strong>\u4e0d\u80fd<\/strong>\u6539\u4e3a\u00a0<code>php8_module<\/code>\u3002<\/li>\n<\/ol><hr class=\"wp-block-separator has-alpha-channel-opacity\"><h2 class=\"wp-block-heading\"><strong>\ud83d\udca1\u00a0\u56db\u3001\u4f18\u5316\u5efa\u8bae<\/strong><\/h2><ol class=\"wp-block-list\">\n<li><strong>Apache \u6027\u80fd\u4f18\u5316<\/strong>\uff08\u7f16\u8f91\u00a0<code>httpd.conf<\/code>\uff09<ul><li>\u542f\u7528\u538b\u7f29\uff1a\u51cf\u5c11\u4f20\u8f93\u4f53\u79ef\u3002<\/li><li>\u8c03\u6574\u5185\u5b58\u53c2\u6570\uff1a<\/li><\/ul>apache<code>MaxConnectionsPerChild 1000 MaxRequestWorkers 150<\/code><\/li>\n\n\n\n<li><strong>\u4f7f\u7528 Docker \u66ff\u4ee3<\/strong><br>\u957f\u671f\u7ef4\u62a4\u5efa\u8bae\u8fc1\u79fb\u5230 Docker\uff0c\u907f\u514d\u7248\u672c\u5347\u7ea7\u7684\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/li>\n<\/ol><hr class=\"wp-block-separator has-alpha-channel-opacity\"><h2 class=\"wp-block-heading\">\u2705\u00a0<strong>\u4e94\u3001\u9a8c\u8bc1\u5347\u7ea7\u6210\u529f<\/strong><\/h2><ol class=\"wp-block-list\">\n<li>\u91cd\u542f Wampserver\uff0c\u56fe\u6807\u53d8\u7eff\u5373\u670d\u52a1\u6b63\u5e38\u3002<\/li>\n\n\n\n<li>\u6d4f\u89c8\u5668\u8bbf\u95ee\u00a0<code>localhost<\/code>\uff0c\u67e5\u770b Wampserver \u9996\u9875\u663e\u793a\u7684 PHP\/MySQL \u7248\u672c\u3002<\/li>\n\n\n\n<li>\u521b\u5efa\u00a0<code>phpinfo.php<\/code>\u00a0\u6587\u4ef6\uff08\u5185\u5bb9\u00a0<code>&lt;?php phpinfo(); ?&gt;<\/code>\uff09\uff0c\u8bbf\u95ee\u786e\u8ba4\u8be6\u7ec6\u914d\u7f6e\u3002<\/li>\n<\/ol><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u5173\u952e\u63d0\u9192<\/strong>\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u59cb\u7ec8\u9009\u62e9\u00a0<strong>\u7ebf\u7a0b\u5b89\u5168\uff08Thread Safe\uff09<\/strong>\u00a0\u7684 PHP \u7248\u672c\u3002<\/li>\n\n\n\n<li>\u82e5\u9879\u76ee\u4f9d\u8d56\u7279\u5b9a PHP \u6269\u5c55\uff08\u5982\u00a0<code>gd<\/code>\u3001<code>mbstring<\/code>\uff09\uff0c\u9700\u5728\u65b0\u7248\u4e2d\u624b\u52a8\u542f\u7528\u3002<\/li>\n<\/ul>\n<\/blockquote><p>\u6309\u6b64\u6d41\u7a0b\u64cd\u4f5c\u53ef\u6700\u5927\u9650\u5ea6\u964d\u4f4e\u5347\u7ea7\u98ce\u9669\uff0c\u82e5\u9047\u590d\u6742\u95ee\u9898\u53ef\u7ed3\u5408\u5177\u4f53\u65e5\u5fd7\uff08Apache error.log \/ MySQL error.log\uff09\u6392\u67e5 \ud83d\udd0d\u3002<\/p><h2 class=\"wp-block-heading\">\u516d\u3001\u5982\u4f55\u786e\u4fddWampserver\u5347\u7ea7\u540e\u7a33\u5b9a\u8fd0\u884c\uff1f<\/h2><p>\u4e3a\u786e\u4fddWampserver\u5347\u7ea7\u540e\u7a33\u5b9a\u8fd0\u884c\uff0c\u9700\u4ece<strong>\u73af\u5883\u9a8c\u8bc1\u3001\u914d\u7f6e\u8c03\u4f18\u3001\u6545\u969c\u9884\u9632<\/strong>\u4e09\u65b9\u9762\u7efc\u5408\u5904\u7406\u3002\u4ee5\u4e0b\u662f\u7ecf\u8fc7\u5b9e\u6218\u9a8c\u8bc1\u7684\u5b8c\u6574\u65b9\u6848\uff1a<\/p><hr class=\"wp-block-separator has-alpha-channel-opacity\"><h3 class=\"wp-block-heading\">\ud83d\udd0d1\u3001\u5347\u7ea7\u540e\u5173\u952e\u9a8c\u8bc1\uff08\u7acb\u5373\u6267\u884c\uff09<\/h3><ol class=\"wp-block-list\">\n<li><strong>\u670d\u52a1\u72b6\u6001\u68c0\u67e5<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u91cd\u542fWampserver\uff0c\u786e\u8ba4\u4efb\u52a1\u680f\u56fe\u6807\u53d8\u7eff\uff08\u6240\u6709\u670d\u52a1\u6b63\u5e38\u8fd0\u884c\uff09\u3002<\/li>\n\n\n\n<li>\u8bbf\u95ee <code>http:\/\/localhost<\/code>\uff0c\u67e5\u770bWampserver\u9996\u9875\u663e\u793a\u7684PHP\/MySQL\u7248\u672c\u662f\u5426\u4e0e\u9884\u671f\u4e00\u81f4\u3002 <\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>\u65e5\u5fd7\u6df1\u5ea6\u5206\u6790<\/strong><\/li>\n<\/ol><ul class=\"wp-block-list\">\n<li><strong>Apache\u9519\u8bef\u65e5\u5fd7<\/strong>\uff1a\u68c0\u67e5 <code>logs\/error.log<\/code>\uff0c\u8fc7\u6ee4 <code>[error]<\/code> \u6216 <code>[warn]<\/code> \u6761\u76ee\uff08\u5982\u6a21\u5757\u52a0\u8f7d\u5931\u8d25\u3001\u6743\u9650\u95ee\u9898\uff09\u3002<\/li>\n\n\n\n<li><strong>MySQL\u9519\u8bef\u65e5\u5fd7<\/strong>\uff1a\u67e5\u770b <code>mysql\/data\/{\u8ba1\u7b97\u673a\u540d}.err<\/code>\uff0c\u6392\u67e5\u8868\u635f\u574f\u6216\u6743\u9650\u9519\u8bef\uff08\u4f8b\u5982 <code>InnoDB initialization failure<\/code>\uff09\u3002<\/li>\n<\/ul><ol class=\"wp-block-list\">\n<li><strong>\u529f\u80fd\u5b8c\u6574\u6027\u6d4b\u8bd5<\/strong><\/li>\n<\/ol><ul class=\"wp-block-list\">\n<li>\u521b\u5efa <code>test_db.php<\/code> \u8fde\u63a5\u6570\u636e\u5e93\uff0c\u9a8c\u8bc1\u6570\u636e\u8bfb\u5199\u662f\u5426\u6b63\u5e38\u3002<\/li>\n\n\n\n<li>\u6267\u884c <code>phpinfo()<\/code> \u9875\u9762\uff0c\u786e\u8ba4\u6240\u6709\u5fc5\u8981\u6269\u5c55\uff08\u5982curl\u3001gd\u3001mysqli\uff09\u5df2\u542f\u7528\u4e14\u65e0\u51b2\u7a81\u8b66\u544a\u3002<\/li>\n<\/ul><hr class=\"wp-block-separator has-alpha-channel-opacity\"><p><strong>\u2699\ufe0f 2\u3001\u7a33\u5b9a\u6027\u52a0\u56fa\u63aa\u65bd\uff08\u5fc5\u505a\u914d\u7f6e\uff09<\/strong><\/p><ol class=\"wp-block-list\">\n<li><strong>\u89e3\u51b3\u7aef\u53e3\u51b2\u7a81<\/strong><ul><li>\u82e5Apache\u542f\u52a8\u5931\u8d25\uff0c\u4fee\u6539 <code>httpd.conf<\/code>\uff1a<\/li><\/ul><code>Listen 8080 # \u539f80\u7aef\u53e3\u88ab\u5360\u7528\u65f6\u6539\u4e3a8080 ServerName localhost:8080<\/code><ul><li>MySQL\u7aef\u53e3\u51b2\u7a81\u65f6\uff0c\u7f16\u8f91 <code>my.ini<\/code>\uff1a<\/li><\/ul><code>port=3307 # \u539f3306\u7aef\u53e3\u88ab\u5360\u7528\u65f6\u8c03\u6574<\/code><\/li>\n\n\n\n<li><strong>\u4fee\u590d\u6269\u5c55\u517c\u5bb9\u6027<\/strong><\/li>\n<\/ol><ul class=\"wp-block-list\">\n<li>\u4ecePECL\u6216\u6269\u5c55\u5b98\u7f51\u4e0b\u8f7d <strong>\u7ebf\u7a0b\u5b89\u5168\uff08Thread Safe\uff09\u7248\u672c<\/strong>\u7684DLL\u6587\u4ef6\u3002<\/li>\n\n\n\n<li>\u793a\u4f8b\uff1a\u5b89\u88c5xdebug\u6b65\u9aa4\uff1a\n<ul class=\"wp-block-list\">\n<li>\u4e0b\u8f7d\u5bf9\u5e94PHP\u7248\u672c\u7684 <code>php_xdebug.dll<\/code> \u81f3 <code>bin\/php\/phpX.X.X\/ext\/<\/code><\/li>\n\n\n\n<li>\u5728 <code>php.ini<\/code> \u672b\u5c3e\u6dfb\u52a0\uff1a<\/li>\n<\/ul>\n<\/li>\n<\/ul><pre class=\"wp-block-code\"><code>[xdebug]\nzend_extension=xdebug\nxdebug.mode=debug<\/code><\/pre><ol class=\"wp-block-list\">\n<li><strong>\u6743\u9650\u4e0e\u5b89\u5168\u52a0\u56fa<\/strong><\/li>\n<\/ol><ul class=\"wp-block-list\">\n<li>\u91cd\u7f6eMySQL root\u5bc6\u7801\uff08\u5347\u7ea7\u540e\u5bc6\u7801\u53ef\u80fd\u5931\u6548\uff09\uff1a<\/li>\n<\/ul><pre class=\"wp-block-code\"><code><code>ALTER USER 'root'@'localhost' IDENTIFIED BY '\u65b0\u5bc6\u7801';<\/code><\/code><\/pre><ul class=\"wp-block-list\">\n<li>\u68c0\u67e5 <code>www<\/code> \u76ee\u5f55\u6743\u9650\uff1a\u786e\u4fddApache\u7528\u6237\uff08\u5982<code>www-data<\/code>\uff09\u6709\u8bfb\u5199\u6743\u9650\uff0c\u907f\u514d403\u9519\u8bef\u3002<\/li>\n<\/ul><hr class=\"wp-block-separator has-alpha-channel-opacity\"><p><strong>\ud83d\udee1\ufe0f 3\u3001\u9884\u9632\u6027\u4f18\u5316\uff08\u957f\u671f\u7a33\u5b9a\uff09<\/strong><\/p><ol class=\"wp-block-list\">\n<li><strong>Apache\u6027\u80fd\u8c03\u4f18<\/strong>\uff08\u7f16\u8f91 <code>httpd.conf<\/code>\uff09<\/li>\n<\/ol><pre class=\"wp-block-code\"><code>   MaxConnectionsPerChild 1000   # \u9632\u6b62\u5185\u5b58\u6cc4\u6f0f\n   MaxRequestWorkers 150          # \u6839\u636eCPU\u6838\u5fc3\u6570\u8c03\u6574\uff08\u5efa\u8bae=CPU\u6838\u5fc3*50\uff09\n   EnableSendfile off             # \u89e3\u51b3\u865a\u62df\u73af\u5883\u6587\u4ef6\u4f20\u8f93\u95ee\u9898<\/code><\/pre><ol start=\"2\" class=\"wp-block-list\">\n<li><strong>PHP\u53c2\u6570\u4f18\u5316<\/strong>\uff08\u7f16\u8f91 <code>php.ini<\/code>\uff09<\/li>\n<\/ol><pre class=\"wp-block-code\"><code>   max_execution_time=120      # \u811a\u672c\u8d85\u65f6\u65f6\u95f4\n   memory_limit=256M           # \u907f\u514d\u5185\u5b58\u4e0d\u8db3\n   opcache.enable=1            # \u542f\u7528Opcache\u52a0\u901f\n   realpath_cache_size=4096K   # \u51cf\u5c11\u6587\u4ef6\u8def\u5f84\u89e3\u6790\u5f00\u9500<\/code><\/pre><ol start=\"3\" class=\"wp-block-list\">\n<li><strong>\u5b9a\u671f\u7ef4\u62a4\u4efb\u52a1<\/strong><\/li>\n<\/ol><ul class=\"wp-block-list\">\n<li>\u6bcf\u6708\u6e05\u7406MySQL\u65e5\u5fd7\uff1a\u6267\u884c <code>PURGE BINARY LOGS BEFORE NOW() - INTERVAL 7 DAY;<\/code><\/li>\n\n\n\n<li>\u4f7f\u7528 <code>mysqlcheck -u root -p --auto-repair --optimize --all-databases<\/code> \u4fee\u590d\u6570\u636e\u5e93\u3002<\/li>\n<\/ul><hr class=\"wp-block-separator has-alpha-channel-opacity\"><p><strong>\ud83d\udea84\u3001\u6545\u969c\u5e94\u6025\u65b9\u6848<\/strong><\/p><figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u73b0\u8c61<\/th><th>\u6392\u67e5\u6b65\u9aa4<\/th><th>\u89e3\u51b3\u65b9\u6848<\/th><\/tr><\/thead><tbody><tr><td><strong>Apache\u542f\u52a8\u5931\u8d25<\/strong><\/td><td>\u68c0\u67e5<code>error.log<\/code>\u4e2d\u7684<code>AH00072<\/code>\u9519\u8bef<\/td><td>\u5173\u95ed\u5360\u752880\u7aef\u53e3\u7684\u7a0b\u5e8f\uff08\u5982Skype\uff09<\/td><\/tr><tr><td><strong>MySQL\u670d\u52a1\u7ea2\u706f<\/strong><\/td><td>\u67e5\u770b<code>mysql_error.log<\/code><\/td><td>\u5220\u9664<code>ib_logfile0<\/code>\u548c<code>ib_logfile1<\/code>\u540e\u91cd\u542f<\/td><\/tr><tr><td><strong>PHP\u9875\u9762\u7a7a\u767d<\/strong><\/td><td>\u5f00\u542f<code>display_errors=On<\/code><\/td><td>\u68c0\u67e5\u6269\u5c55\u51b2\u7a81\u6216\u8bed\u6cd5\u9519\u8bef<\/td><\/tr><\/tbody><\/table><\/figure><hr class=\"wp-block-separator has-alpha-channel-opacity\"><p><strong>\ud83d\udca1 \u7ec8\u6781\u5efa\u8bae\uff1a\u5411Docker\u8fc1\u79fb<\/strong><br>\u82e5\u9891\u7e41\u906d\u9047\u7248\u672c\u517c\u5bb9\u95ee\u9898\uff0c\u63a8\u8350\u4f7f\u7528Docker\u66ff\u4ee3Wampserver\uff1a<\/p><pre class=\"wp-block-code\"><code># \u793a\u4f8b\uff1a\u4e00\u952e\u542f\u52a8LAMP\u73af\u5883\ndocker run -d -p 8080:80 -v \/\u672c\u5730\u8def\u5f84:\/var\/www\/html --name my-lamp bitnami\/lamp<\/code><\/pre><p><br>\u4f18\u52bf\uff1a<strong>\u7248\u672c\u9694\u79bb\u3001\u79d2\u7ea7\u56de\u6eda\u3001\u914d\u7f6e\u5373\u4ee3\u7801<\/strong>\uff0c\u5f7b\u5e95\u89e3\u51b3\u4f9d\u8d56\u51b2\u7a81\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u6ce8\uff1a\u8981\u5148\u5907\u4efd\u6570\u636e\u540e\u5378\u8f7d\u5f53\u524d\u7248\u672c\u540e\uff0c\u5728\u5b89\u88c5\u65b0\u7248\u672c\uff1b\u65b0\u7248\u672c\u65e0\u6cd5\u8986\u76d6\u8001\u7248\u672c\u3002 \u5347\u7ea7 Wampserver \u7248\u672c\u9700\u8c28\u614e\u64cd\u4f5c\uff0c\u4ee5\u4e0b\u662f\u7efc\u5408\u591a\u4e2a\u53ef\u9760\u6765\u6e90\u6574\u7406\u7684\u5b8c\u6574\u6b65\u9aa4\u53ca\u6ce8\u610f\u4e8b\u9879\uff1a \ud83d\udd27\u00a0\u4e00\u3001\u5347\u7ea7\u524d\u51c6\u5907\uff08\u5173\u952e\u6b65\u9aa4\uff09 \u2b06\ufe0f\u00a0\u4e8c\u3001\u6b63\u5f0f\u5347\u7ea7\u6b65\u9aa4 \u26a0\ufe0f\u00a0\u4e09\u3001\u5e38\u89c1\u95ee\u9898\u89e3\u51b3 \u5347\u7ea7\u540e\u82e5\u670d\u52a1\u65e0\u6cd5\u542f\u52a8\uff0c\u9700\u68c0\u67e5\uff1a \ud83d\udca1\u00a0\u56db\u3001\u4f18\u5316\u5efa\u8bae \u2705\u00a0\u4e94\u3001\u9a8c\u8bc1\u5347\u7ea7\u6210\u529f \u6309..<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[35],"tags":[],"tuisongtax":[],"class_list":["post-43","post","type-post","status-publish","format-standard","hentry","category-jchj"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/posts\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":0,"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/tags?post=43"},{"taxonomy":"tuisongtax","embeddable":true,"href":"https:\/\/www.zhaozhao123.cn\/muban\/wp-json\/wp\/v2\/tuisongtax?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}