{"id":45526,"date":"2025-07-30T00:15:57","date_gmt":"2025-07-29T16:15:57","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/45526.html"},"modified":"2025-07-30T00:15:57","modified_gmt":"2025-07-29T16:15:57","slug":"%e3%80%90php%e5%bc%80%e5%8f%91900%e4%b8%aa%e5%ae%9e%e7%94%a8%e6%8a%80%e5%b7%a7%e3%80%91329-%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%8f%82%e6%95%b0%e8%b0%83%e4%bc%98%ef%bc%9aphp-fpm%e9%85%8d%e7%bd%ae%e7%9a%84","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/45526.html","title":{"rendered":"\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729161554-6888f3bac7153.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>  #mermaid-svg-e3rCU0ME26jbP70P {font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;fill:#333;}#mermaid-svg-e3rCU0ME26jbP70P .error-icon{fill:#552222;}#mermaid-svg-e3rCU0ME26jbP70P .error-text{fill:#552222;stroke:#552222;}#mermaid-svg-e3rCU0ME26jbP70P .edge-thickness-normal{stroke-width:2px;}#mermaid-svg-e3rCU0ME26jbP70P .edge-thickness-thick{stroke-width:3.5px;}#mermaid-svg-e3rCU0ME26jbP70P .edge-pattern-solid{stroke-dasharray:0;}#mermaid-svg-e3rCU0ME26jbP70P .edge-pattern-dashed{stroke-dasharray:3;}#mermaid-svg-e3rCU0ME26jbP70P .edge-pattern-dotted{stroke-dasharray:2;}#mermaid-svg-e3rCU0ME26jbP70P .marker{fill:#333333;stroke:#333333;}#mermaid-svg-e3rCU0ME26jbP70P .marker.cross{stroke:#333333;}#mermaid-svg-e3rCU0ME26jbP70P svg{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:16px;}#mermaid-svg-e3rCU0ME26jbP70P .label{font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;color:#333;}#mermaid-svg-e3rCU0ME26jbP70P .cluster-label text{fill:#333;}#mermaid-svg-e3rCU0ME26jbP70P .cluster-label span{color:#333;}#mermaid-svg-e3rCU0ME26jbP70P .label text,#mermaid-svg-e3rCU0ME26jbP70P span{fill:#333;color:#333;}#mermaid-svg-e3rCU0ME26jbP70P .node rect,#mermaid-svg-e3rCU0ME26jbP70P .node circle,#mermaid-svg-e3rCU0ME26jbP70P .node ellipse,#mermaid-svg-e3rCU0ME26jbP70P .node polygon,#mermaid-svg-e3rCU0ME26jbP70P .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#mermaid-svg-e3rCU0ME26jbP70P .node .label{text-align:center;}#mermaid-svg-e3rCU0ME26jbP70P .node.clickable{cursor:pointer;}#mermaid-svg-e3rCU0ME26jbP70P .arrowheadPath{fill:#333333;}#mermaid-svg-e3rCU0ME26jbP70P .edgePath .path{stroke:#333333;stroke-width:2.0px;}#mermaid-svg-e3rCU0ME26jbP70P .flowchart-link{stroke:#333333;fill:none;}#mermaid-svg-e3rCU0ME26jbP70P .edgeLabel{background-color:#e8e8e8;text-align:center;}#mermaid-svg-e3rCU0ME26jbP70P .edgeLabel rect{opacity:0.5;background-color:#e8e8e8;fill:#e8e8e8;}#mermaid-svg-e3rCU0ME26jbP70P .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#mermaid-svg-e3rCU0ME26jbP70P .cluster text{fill:#333;}#mermaid-svg-e3rCU0ME26jbP70P .cluster span{color:#333;}#mermaid-svg-e3rCU0ME26jbP70P div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#mermaid-svg-e3rCU0ME26jbP70P :root{&#8211;mermaid-font-family:\\&#8221;trebuchet ms\\&#8221;,verdana,arial,sans-serif;}#mermaid-svg-e3rCU0ME26jbP70P .root&gt;*{fill:#FF6F61!important;stroke:#333!important;color:white!important;font-weight:bold!important;}#mermaid-svg-e3rCU0ME26jbP70P .root span{fill:#FF6F61!important;stroke:#333!important;color:white!important;font-weight:bold!important;}#mermaid-svg-e3rCU0ME26jbP70P .level1&gt;*{fill:#88D498!important;stroke:#333!important;color:#333!important;font-weight:bold!important;}#mermaid-svg-e3rCU0ME26jbP70P .level1 span{fill:#88D498!important;stroke:#333!important;color:#333!important;font-weight:bold!important;}#mermaid-svg-e3rCU0ME26jbP70P .level2&gt;*{fill:#FFD166!important;stroke:#333!important;color:#333!important;}#mermaid-svg-e3rCU0ME26jbP70P .level2 span{fill:#FFD166!important;stroke:#333!important;color:#333!important;}#mermaid-svg-e3rCU0ME26jbP70P .level3&gt;*{fill:#1D7AF0!important;stroke:#333!important;color:white!important;}#mermaid-svg-e3rCU0ME26jbP70P .level3 span{fill:#1D7AF0!important;stroke:#333!important;color:white!important;}<\/p>\n<p>         <span id=\"L-L-A-B\" class=\"edgeLabel L-LS-A&#039; L-LE-B\"><\/span><\/p>\n<p>         <span id=\"L-L-A-C\" class=\"edgeLabel L-LS-A&#039; L-LE-C\"><\/span><\/p>\n<p>         <span id=\"L-L-A-D\" class=\"edgeLabel L-LS-A&#039; L-LE-D\"><\/span><\/p>\n<p>         <span id=\"L-L-A-E\" class=\"edgeLabel L-LS-A&#039; L-LE-E\"><\/span><\/p>\n<p>         <span id=\"L-L-A-F\" class=\"edgeLabel L-LS-A&#039; L-LE-F\"><\/span><\/p>\n<p>         <span id=\"L-L-A-G\" class=\"edgeLabel L-LS-A&#039; L-LE-G\"><\/span><\/p>\n<p>          PHP-FPM\u914d\u7f6e\u7684<br \/>\n          \u6781\u9650\u6027\u80fd\u653b\u7565<\/p>\n<p>          1. \u7406\u89e3PHP-FPM<br \/>\n          \u57fa\u672c\u67b6\u6784<\/p>\n<p>          2. \u5173\u952e\u914d\u7f6e\u53c2\u6570<br \/>\n          \u6df1\u5ea6\u89e3\u6790<\/p>\n<p>          3. \u6839\u636e\u670d\u52a1\u5668\u8d44\u6e90<br \/>\n          \u52a8\u6001\u8c03\u4f18<\/p>\n<p>          4. \u6027\u80fd\u76d1\u63a7\u4e0e<br \/>\n          \u52a8\u6001\u8c03\u6574<\/p>\n<p>          5. \u907f\u514d\u5e38\u89c1<br \/>\n          \u914d\u7f6e\u9677\u9631<\/p>\n<p>          \u5199\u5728\u6700\u540e<\/p>\n<p>\u76ee\u5f55\u6587\u5b57\u7248&#xff1a;<\/p>\n<li>\u7406\u89e3PHP-FPM\u57fa\u672c\u67b6\u6784<\/li>\n<li>\u5173\u952e\u914d\u7f6e\u53c2\u6570\u6df1\u5ea6\u89e3\u6790<\/li>\n<li>\u6839\u636e\u670d\u52a1\u5668\u8d44\u6e90\u52a8\u6001\u8c03\u4f18<\/li>\n<li>\u6027\u80fd\u76d1\u63a7\u4e0e\u52a8\u6001\u8c03\u6574<\/li>\n<li>\u907f\u514d\u5e38\u89c1\u914d\u7f6e\u9677\u9631<\/li>\n<li>\u5199\u5728\u6700\u540e<\/li>\n<p>\u3010\u624b\u6413\u767e\u4e07\u5e76\u53d1\u79d8\u7c4d\u3011PHP-FPM\u53c2\u6570\u8c03\u4f18\u5168\u63ed\u79d8&#xff01;5\u5927\u9ec4\u91d1\u6cd5\u5219\u8ba9\u4f60\u7684\u670d\u52a1\u5668\u6027\u80fd\u98d9\u5347300%&#xff0c;\u544a\u522b502\u5669\u68a6<\/p>\n<p>\u55e8&#xff0c;\u4f60\u597d\u5440&#xff0c;\u6211\u662f\u4f60\u7684\u8001\u670b\u53cb\u7cbe\u901a\u4ee3\u7801\u5927\u4ed9\u3002\u63a5\u4e0b\u6765\u6211\u4eec\u4e00\u8d77\u5b66\u4e60PHP\u5f00\u53d1\u4e2d\u7684900\u4e2a\u5b9e\u7528\u6280\u5de7&#xff0c;\u9707\u64bc\u4f60\u7684\u5b66\u4e60\u8f68\u8ff9&#xff01;\u83b7\u53d6\u66f4\u591a\u5b66\u4e60\u8d44\u6599\u8bf7\u52a0\u5a01\u4fe1&#xff1a;temu333 \u5173\u6ce8B\u5360UP&#xff1a;\u6280\u672f\u5b66\u4e60<\/p>\n<p>\u201c\u914d\u7f6e\u4e0d\u5bf9&#xff0c;\u5934\u53d1\u767d\u5e9f&#xff01;\u201d \u5f53\u4f60\u7684\u7f51\u7ad9\u534a\u591c\u7a81\u7136\u5b95\u673a&#xff0c;\u770b\u7740\u76d1\u63a7\u56fe\u8868\u4e0a\u98d9\u5347\u7684502\u9519\u8bef&#xff0c;\u662f\u4e0d\u662f\u6068\u4e0d\u5f97\u628a\u670d\u52a1\u5668\u7838\u4e86&#xff1f;\u522b\u614c&#xff0c;\u4eca\u5929\u6211\u4eec\u5c31\u6765\u7ec8\u7ed3\u8fd9\u4e2a\u5669\u68a6&#xff01;\u65b0\u624b\u6700\u60e8\u7684\u5f80\u5f80\u4e0d\u662f\u5199\u4e0d\u51fa\u4ee3\u7801&#xff0c;\u800c\u662f\u660e\u660e\u4ee3\u7801\u6ca1\u95ee\u9898&#xff0c;\u670d\u52a1\u5668\u5374\u50cf\u8001\u725b\u62c9\u8f66\u4e00\u6837\u6162\u3002\u5b66\u4f1aPHP-FPM\u8c03\u4f18&#xff0c;\u4f60\u7684\u7f51\u7ad9\u6027\u80fd\u5c31\u80fd\u5750\u706b\u7bad\u98d9\u5347&#xff01;<\/p>\n<hr \/>\n<h4>&#x1f527; 1. \u7406\u89e3PHP-FPM\u57fa\u672c\u67b6\u6784<\/h4>\n<p>\u70b9\u9898&#xff1a;\u641e\u61c2\u8fdb\u7a0b\u7ba1\u7406\u6a21\u578b\u662f\u8c03\u4f18\u7684\u57fa\u77f3 \u75db\u70b9\u5206\u6790&#xff1a;\u5f88\u591a\u4eba\u628aPHP-FPM\u5f53\u9ed1\u76d2\u5b50&#xff0c;\u7ed3\u679c\u51fa\u73b0\u8fd9\u79cd\u707e\u96be\u914d\u7f6e&#xff1a;<\/p>\n<p># \u81f4\u547d\u9519\u8bef\u793a\u8303&#xff01;<br \/>\npm &#061; dynamic<br \/>\npm.max_children &#061; 9999  # \u628a\u5185\u5b58\u5f53\u65e0\u5e95\u6d1e<\/p>\n<p>\u7ed3\u679c\u670d\u52a1\u5668\u76f4\u63a5OOM&#xff08;\u5185\u5b58\u6ea2\u51fa&#xff09;\u5d29\u6e83&#xff0c;\u8001\u677f\u534a\u591c\u6253\u7535\u8bdd\u9a82\u4eba\u3002\u66f4\u60e8\u7684\u662f\u6709\u4eba\u7528static\u6a21\u5f0f\u542f\u52a8100\u4e2a\u8fdb\u7a0b&#xff0c;\u7ed3\u679c\u7a7a\u95f2\u65f6\u5403\u63898G\u5185\u5b58&#xff01;<\/p>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;\u8bb0\u4f4f\u8fd9\u4e09\u4e2a\u9ec4\u91d1\u7ec4\u4ef6<\/p>\n<p>Master\u8fdb\u7a0b \u2192 \u7ba1\u7406\u6c60<br \/>\n\u2514\u2500\u2500 Worker\u8fdb\u7a0b \u2192 \u5904\u7406\u8bf7\u6c42<br \/>\n    \u2514\u2500\u2500 CGI\u534f\u8bae \u2192 \u4e0eNginx\u901a\u4fe1<\/p>\n<p>\u6b63\u786e\u793a\u8303&#xff08;4\u68388G\u670d\u52a1\u5668&#xff09;&#xff1a;<\/p>\n<p>pm &#061; dynamic<br \/>\npm.max_children &#061; 80      # \u5185\u5b58\u9650\u5236\u4e0b\u7684\u6700\u5927\u503c<br \/>\npm.start_servers &#061; 12     # \u542f\u52a8\u8fdb\u7a0b\u6570&#061;CPU\u6838\u5fc3\u6570\u00d73<br \/>\npm.min_spare_servers &#061; 8  # \u907f\u514d\u9891\u7e41\u521b\u5efa<br \/>\npm.max_spare_servers &#061; 32 # \u5e94\u5bf9\u7a81\u53d1\u6d41\u91cf<\/p>\n<p>\u5c0f\u7ed3&#xff1a;\u8c03\u4f18\u4e0d\u662f\u731c\u6570\u5b57\u6e38\u620f&#xff0c;\u5148\u641e\u6e05\u695a\u8fdb\u7a0b\u600e\u4e48\u751f\u600e\u4e48\u6b7b&#xff01;<\/p>\n<hr \/>\n<h4>&#x1f4ca; 2. \u5173\u952e\u914d\u7f6e\u53c2\u6570\u6df1\u5ea6\u89e3\u6790<\/h4>\n<p>\u70b9\u9898&#xff1a;\u641e\u61c2\u8fd9\u51e0\u4e2a\u53c2\u6570&#061;\u62ff\u5230\u6027\u80fd\u4e4b\u95e8\u7684\u94a5\u5319 \u75db\u70b9\u5206\u6790&#xff1a;\u65b0\u624b\u6700\u5bb9\u6613\u8df3\u7684\u4e09\u5927\u5929\u5751&#xff1a;<\/p>\n<p>; \u57511&#xff1a;\u8bf7\u6c42\u5806\u79ef\u5982\u5c71&#xff08;\u8fdb\u7a0b\u4e0d\u591f&#xff09;<br \/>\npm.max_children &#061; 20  <\/p>\n<p>; \u57512&#xff1a;CPU100%\u72c2\u6b22&#xff08;\u8fdb\u7a0b\u56de\u6536\u592a\u6162&#xff09;<br \/>\npm.max_requests &#061; 0   ; \u6c38\u4e0d\u56de\u6536&#061;\u5185\u5b58\u6cc4\u9732<\/p>\n<p>; \u57513&#xff1a;\u7528\u6237\u75af\u72c2\u5237\u65b0\u5c31\u5b95\u673a&#xff08;\u88ab\u653b\u51fb\u90fd\u4e0d\u77e5\u9053&#xff09;<br \/>\nrequest_terminate_timeout &#061; 0 ; \u65e0\u8d85\u65f6\u9650\u5236<\/p>\n<p>\u7ed3\u679c\u5c31\u662f&#xff1a;\u7f51\u7ad9\u95f4\u6b47\u6027\u62bd\u98ce&#xff0c;\u65e5\u5fd7\u91cc\u5168\u662f&#034;Gateway Timeout&#034;&#xff01;<\/p>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;\u53c2\u8003\u8fd9\u4e2a\u519b\u5de5\u7ea7\u914d\u7f6e\u6a21\u677f<\/p>\n<p>; \u6838\u5fc3\u53c2\u6570\u4e09\u4ef6\u5957<br \/>\npm.max_children &#061; (\u603b\u5185\u5b58 &#8211; \u7cfb\u7edf\u9884\u7559) \/ \u5355\u8fdb\u7a0b\u5185\u5b58 \u00d7 1.2<br \/>\npm.max_requests &#061; 1000  ; \u9632\u5185\u5b58\u6cc4\u9732<br \/>\nrequest_terminate_timeout &#061; 30s ; \u8d85\u65f6\u7194\u65ad<\/p>\n<p>; \u9ad8\u7ea7\u9632\u5fa1&#xff08;\u9632CC\u653b\u51fb&#xff09;<br \/>\nemergency_restart_threshold &#061; 10  ; 10\u79d2\u5185\u5d29\u6e8310\u6b21\u91cd\u542f<br \/>\nslowlog &#061; \/var\/log\/php-fpm-slow.log ; \u6293\u6162\u8bf7\u6c42<\/p>\n<p>\u5b9e\u6d4b\u6570\u636e&#xff1a;\u67d0\u4e2a\u7535\u5546\u7ad9\u8c03\u6574\u540e&#xff0c;QPS\u4ece120\u98d9\u5347\u5230560&#xff01;<\/p>\n<hr \/>\n<h4>&#x1f4bb; 3. \u6839\u636e\u670d\u52a1\u5668\u8d44\u6e90\u52a8\u6001\u8c03\u4f18<\/h4>\n<p>\u70b9\u9898&#xff1a;\u8c03\u4f18\u516c\u5f0f\u2260\u6b7b\u6570\u5b57&#xff0c;\u8981\u770b\u670d\u52a1\u5668\u5bb6\u5e95 \u75db\u70b9\u5206\u6790&#xff1a;\u6700\u5e38\u89c1\u7684\u5185\u5b58\u8ba1\u7b97\u516c\u5f0f\u7ffb\u8f66\u73b0\u573a&#xff1a; \u201c\u6211\u7684\u670d\u52a1\u566816G\u5185\u5b58&#xff0c;\u5355\u8fdb\u7a0b80M&#xff0c;\u6240\u4ee5max_children&#061;16\u00d71024\u00f780\u2248204&#xff01;\u201d \u7ed3\u679c\u8fdb\u7a0b\u521b\u5efa\u592a\u591a&#xff0c;\u7cfb\u7edf\u5185\u6838\u76f4\u63a5\u6740\u8fdb\u7a0b&#xff0c;\u65e5\u5fd7\u91cc\u5168\u662f&#034;SIGKILL&#034;&#xff01;<\/p>\n<p>\u7075\u9b42\u516c\u5f0f&#xff08;\u5e26\u7f13\u51b2\u533a\u7684\u6b63\u786e\u7248\u672c&#xff09;&#xff1a;<\/p>\n<p>\u6700\u5927\u8fdb\u7a0b\u6570 &#061; (\u603b\u5185\u5b58 &#8211; \u7cfb\u7edf\u9884\u7559 &#8211; Nginx\u5185\u5b58) \/ \u5355\u8fdb\u7a0b\u5cf0\u503c\u5185\u5b58 \u00d7 0.8<\/p>\n<p>\u5b9e\u64cdDemo&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u6b65\u9aa41&#xff1a;\u67e5\u5355\u8fdb\u7a0b\u5185\u5b58&#xff08;\u5b9e\u6218\u547d\u4ee4&#xff09;<\/span><br \/>\n<span class=\"token function\">ps<\/span> -ylC php-fpm &#8211;sort:rss <span class=\"token operator\">|<\/span> <span class=\"token function\">awk<\/span> <span class=\"token string\">&#039;{SUM&#043;&#061;<span class=\"token variable\">$8<\/span>}END{print SUM\/NR\/1024 &#034;MB&#034;}&#039;<\/span><\/p>\n<p><span class=\"token comment\"># \u6b65\u9aa42&#xff1a;\u8ba1\u7b97\u9884\u7559&#xff08;4G\u5185\u5b58\u670d\u52a1\u5668\u793a\u4f8b&#xff09;<\/span><br \/>\n\u7cfb\u7edf\u9884\u7559 <span class=\"token operator\">&#061;<\/span> 1G<br \/>\nNginx\u5360\u7528 <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">0<\/span>.5G<br \/>\n\u53ef\u7528\u5185\u5b58 <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">4<\/span> &#8211; <span class=\"token number\">1<\/span> &#8211; <span class=\"token number\">0.5<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">2<\/span>.5G<br \/>\n\u5355\u8fdb\u7a0b <span class=\"token operator\">&#061;<\/span> 80MB \u2192 max_children <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">2500<\/span>\/80 \u00d7 <span class=\"token number\">0.8<\/span> \u2248 <span class=\"token number\">25<\/span><\/p>\n<hr \/>\n<h4>&#x1f4c8; 4. \u6027\u80fd\u76d1\u63a7\u4e0e\u52a8\u6001\u8c03\u6574<\/h4>\n<p>\u70b9\u9898&#xff1a;\u8c03\u4f18\u4e0d\u662f\u4e00\u9524\u5b50\u4e70\u5356&#xff0c;\u8981\u52a8\u6001\u8ffd\u8e2a \u75db\u70b9\u5206\u6790&#xff1a;\u5f88\u591a\u4eba\u8c03\u5b8c\u53c2\u6570\u5c31\u8eba\u5e73&#xff0c;\u7ed3\u679c\u6d41\u91cf\u7ffb\u500d\u65f6\u51fa\u73b0&#xff1a;<\/p>\n<p>[WARNING] [pool www] seems busy<br \/>\n\u4f60\u8fd8\u5728\u7528top\u770bCPU&#xff1f;out\u5566&#xff01;<\/p>\n<p>\u795e\u7ea7\u76d1\u63a7\u65b9\u6848&#xff1a;<\/p>\n<li>\u5b9e\u65f6\u72b6\u6001\u9875\u914d\u7f6e&#xff08;\u79d2\u7ea7\u76d1\u63a7&#xff09;<\/li>\n<p>pm.status_path &#061; \/fpm_status  <\/p>\n<p>\u8bbf\u95ee\u6548\u679c&#xff1a;<\/p>\n<p>pool: www<br \/>\nprocess manager: dynamic<br \/>\nstart time: <span class=\"token number\">2025<\/span>\/06\/03<br \/>\nstart since: <span class=\"token number\">5678<\/span><br \/>\naccepted conn: <span class=\"token number\">1234567<\/span><br \/>\nlisten queue: <span class=\"token number\">0<\/span>  <span class=\"token comment\"># \u91cd\u70b9\u770b\u8fd9\u4e2a&#xff01;&gt;0\u8bf4\u660e\u62e5\u5835<\/span><\/p>\n<li>Prometheus&#043;Granafa\u770b\u677f&#xff08;\u914d\u7f6e\u793a\u4f8b&#xff09;<\/li>\n<p><span class=\"token key atrule\">scrape_configs<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token punctuation\">&#8211;<\/span> <span class=\"token key atrule\">job_name<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token string\">&#039;php-fpm&#039;<\/span><br \/>\n    <span class=\"token key atrule\">metrics_path<\/span><span class=\"token punctuation\">:<\/span> \/fpm_status<br \/>\n    <span class=\"token key atrule\">params<\/span><span class=\"token punctuation\">:<\/span><br \/>\n      <span class=\"token key atrule\">json<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token boolean important\">true<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<hr \/>\n<h4>&#x1f6ab; 5. \u907f\u514d\u5e38\u89c1\u914d\u7f6e\u9677\u9631<\/h4>\n<p>\u70b9\u9898&#xff1a;\u6709\u4e9b\u5751\u6389\u8fdb\u53bb\u670d\u52a1\u5668\u5c31\u5e9f\u4e86 \u8840\u6cea\u6848\u4f8b&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6838\u5f39\u7ea7\u9519\u8bef&#xff1a;\u5f00Opcache\u5374\u4e0d\u914d\u811a\u672c\u7f13\u5b58 \u7ed3\u679cCPU\u98d9\u5230200%&#xff01;\u6b63\u786e\u59ff\u52bf&#xff1a;<\/p>\n<p> opcache.validate_timestamps&#061;60 ; \u751f\u4ea7\u73af\u5883\u5173\u6389&#xff01;<br \/>\nopcache.memory_consumption&#061;256 ; \u5fc5\u987b\u7ed9\u591f\n <\/li>\n<li>\n<p>\u81ea\u6740\u5f0f\u914d\u7f6e&#xff1a;Nginx\u548cPHP\u5728\u540c\u4e00\u673a\u5668\u5374\u8d70TCP \u6539\u7528Unix Socket\u901f\u5ea6\u63d0\u534730%&#xff1a;<\/p>\n<p> location ~ \\\\.php$ {<br \/>\n  fastcgi_pass unix:\/run\/php-fpm.sock;<br \/>\n  # \u5173\u952e\u53c2\u6570&#xff01;\u9632\u4e22\u5305<br \/>\n  fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br \/>\n}\n <\/li>\n<li>\n<p>\u9690\u5f62\u70b8\u5f39&#xff1a;\u6587\u4ef6\u63cf\u8ff0\u7b26\u8017\u5c3d<\/p>\n<p> <span class=\"token comment\"># \u67e5\u770b\u5f53\u524d\u9650\u5236<\/span><br \/>\n<span class=\"token function\">cat<\/span> \/proc\/<span class=\"token variable\"><span class=\"token variable\">$(<\/span>pidof php-fpm<span class=\"token variable\">)<\/span><\/span>\/limits <span class=\"token operator\">|<\/span> <span class=\"token function\">grep<\/span> <span class=\"token string\">&#039;Max open files&#039;<\/span><\/p>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<p> rlimit_files &#061; 65535  # \u5fc5\u987b&gt;pm.max_children\u00d72\n <\/li>\n<\/ul>\n<hr \/>\n<h4>&#x1f4dd; \u5199\u5728\u6700\u540e<\/h4>\n<p>\u8c03\u4f18\u4e0d\u662f\u7384\u5b66&#xff0c;\u800c\u662f\u4e00\u95e8\u7cbe\u786e\u7684\u79d1\u5b66\u3002\u8bb0\u5f97\u7b2c\u4e00\u6b21\u8c03\u4f18\u65f6\u6211\u628a\u670d\u52a1\u5668\u641e\u5d29\u4e09\u6b21&#xff0c;\u4f46\u73b0\u5728\u56de\u5934\u770b&#xff0c;\u6b63\u662f\u8fd9\u4e9b\u78d5\u78d5\u7eca\u7eca\u8ba9\u6211\u771f\u6b63\u7406\u89e3\u4e86\u6bcf\u4e2a\u53c2\u6570\u80cc\u540e\u7684\u610f\u4e49\u3002\u8bb0\u4f4f&#xff1a;\u6ca1\u6709\u653e\u4e4b\u56db\u6d77\u7686\u51c6\u7684\u914d\u7f6e&#xff0c;\u53ea\u6709\u4e0d\u65ad\u89c2\u5bdf\u3001\u6d4b\u8bd5\u3001\u8c03\u6574\u7684\u8fc7\u7a0b\u3002\u5f53\u4f60\u7684\u7f51\u7ad9\u625b\u4f4f\u53cc\u5341\u4e00\u6d41\u91cf\u6d2a\u5cf0\u65f6&#xff0c;\u90a3\u79cd\u6210\u5c31\u611f\u6bd4\u5199\u5341\u884c\u4ee3\u7801\u5f3a\u767e\u500d&#xff01;<\/p>\n<p>\u7ec8\u6781\u79d8\u7c4d&#xff1a;\u6bcf\u6b21\u8c03\u6574\u53ea\u6539\u4e00\u4e2a\u53c2\u6570&#xff01;\u76d1\u63a7\u2192\u8c03\u6574\u2192\u9a8c\u8bc1&#xff0c;\u8fd9\u624d\u662f\u6b66\u6797\u9ad8\u624b\u7684\u4fee\u70bc\u4e4b\u9053\u3002\u4fdd\u6301\u8010\u5fc3&#xff0c;\u4f60\u7684\u670d\u52a1\u5668\u7ec8\u4f1a\u6210\u4e3a\u6027\u80fd\u731b\u517d&#xff01;<\/p>\n<p>\u6700\u540e\u9001\u5927\u5bb6\u4e00\u53e5\u6211\u7684\u5ea7\u53f3\u94ed&#xff1a;\u201c\u597d\u7684\u914d\u7f6e\u662f99%\u7684\u89c2\u5bdf\u52a0\u4e0a1%\u7684\u8c03\u6574\u201d\u3002\u7f16\u7a0b\u8def\u4e0a&#xff0c;\u6211\u4eec\u9ad8\u5904\u89c1&#xff01; &#x1f680;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb846\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf24\u6b21\u3002\u672c\u6587\u6df1\u5165\u63a2\u8ba8\u4e86PHP-FPM\u7684\u6027\u80fd\u8c03\u4f18\u7b56\u7565\uff0c\u4ece\u57fa\u672c\u67b6\u6784\u7406\u89e3\u3001\u5173\u952e\u53c2\u6570\u914d\u7f6e\u3001\u52a8\u6001\u8c03\u4f18\u3001\u6027\u80fd\u76d1\u63a7\u5230\u5e38\u89c1\u9677\u9631\u89c4\u907f\uff0c\u5168\u65b9\u4f4d\u52a9\u529b\u5f00\u53d1\u8005\u63d0\u5347\u670d\u52a1\u5668\u6027\u80fd\u3002### 1. \u7406\u89e3PHP-FPM\u57fa\u672c\u67b6\u6784- **\u75db\u70b9**\uff1a\u65b0\u624b\u5e38\u5c06PHP-FPM\u89c6\u4e3a\u9ed1\u76d2\u5b50\uff0c\u5bfc\u81f4\u914d\u7f6e\u4e0d\u5f53\u5f15\u53d1\u670d\u52a1\u5668\u5d29\u6e83\u3002- **\u89e3\u51b3\u65b9\u6848**\uff1a\u638c\u63e1Master\u8fdb\u7a0b\u3001Worker\u8fdb\u7a0b\u548cCGI\u534f\u8bae\u7684\u534f\u540c\u5de5\u4f5c\u5173\u7cfb\uff0c\u5408\u7406\u914d\u7f6e\u8fdb\u7a0b\u6570\u91cf\u3002### 2. \u5173\u952e\u914d\u7f6e\u53c2\u6570\u6df1\u5ea6\u89e3\u6790- **\u75db\u70b9**\uff1a\u65b0\u624b\u5e38\u56e0\u5173\u952e\u53c2\u6570\u914d\u7f6e\u4e0d\u5f53\u5bfc\u81f4\u6027\u80fd\u95ee\u9898\u3002- **\u89e3\u51b3\u65b9\u6848**\uff1a\u63d0\u4f9b\u519b\u5de5\u7ea7\u914d\u7f6e\u6a21\u677f<\/p>\n","protected":false},"author":2,"featured_media":45525,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[84,230,4321,4322,427],"topic":[],"class_list":["post-45526","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-android","tag-php","tag-php900","tag-4322","tag-427"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/45526.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb846\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf24\u6b21\u3002\u672c\u6587\u6df1\u5165\u63a2\u8ba8\u4e86PHP-FPM\u7684\u6027\u80fd\u8c03\u4f18\u7b56\u7565\uff0c\u4ece\u57fa\u672c\u67b6\u6784\u7406\u89e3\u3001\u5173\u952e\u53c2\u6570\u914d\u7f6e\u3001\u52a8\u6001\u8c03\u4f18\u3001\u6027\u80fd\u76d1\u63a7\u5230\u5e38\u89c1\u9677\u9631\u89c4\u907f\uff0c\u5168\u65b9\u4f4d\u52a9\u529b\u5f00\u53d1\u8005\u63d0\u5347\u670d\u52a1\u5668\u6027\u80fd\u3002### 1. \u7406\u89e3PHP-FPM\u57fa\u672c\u67b6\u6784- **\u75db\u70b9**\uff1a\u65b0\u624b\u5e38\u5c06PHP-FPM\u89c6\u4e3a\u9ed1\u76d2\u5b50\uff0c\u5bfc\u81f4\u914d\u7f6e\u4e0d\u5f53\u5f15\u53d1\u670d\u52a1\u5668\u5d29\u6e83\u3002- **\u89e3\u51b3\u65b9\u6848**\uff1a\u638c\u63e1Master\u8fdb\u7a0b\u3001Worker\u8fdb\u7a0b\u548cCGI\u534f\u8bae\u7684\u534f\u540c\u5de5\u4f5c\u5173\u7cfb\uff0c\u5408\u7406\u914d\u7f6e\u8fdb\u7a0b\u6570\u91cf\u3002### 2. \u5173\u952e\u914d\u7f6e\u53c2\u6570\u6df1\u5ea6\u89e3\u6790- **\u75db\u70b9**\uff1a\u65b0\u624b\u5e38\u56e0\u5173\u952e\u53c2\u6570\u914d\u7f6e\u4e0d\u5f53\u5bfc\u81f4\u6027\u80fd\u95ee\u9898\u3002- **\u89e3\u51b3\u65b9\u6848**\uff1a\u63d0\u4f9b\u519b\u5de5\u7ea7\u914d\u7f6e\u6a21\u677f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/45526.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-29T16:15:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729161554-6888f3bac7153.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/45526.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/45526.html\",\"name\":\"\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-07-29T16:15:57+00:00\",\"dateModified\":\"2025-07-29T16:15:57+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/45526.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/45526.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/45526.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/45526.html","og_locale":"zh_CN","og_type":"article","og_title":"\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb846\u6b21\uff0c\u70b9\u8d5e11\u6b21\uff0c\u6536\u85cf24\u6b21\u3002\u672c\u6587\u6df1\u5165\u63a2\u8ba8\u4e86PHP-FPM\u7684\u6027\u80fd\u8c03\u4f18\u7b56\u7565\uff0c\u4ece\u57fa\u672c\u67b6\u6784\u7406\u89e3\u3001\u5173\u952e\u53c2\u6570\u914d\u7f6e\u3001\u52a8\u6001\u8c03\u4f18\u3001\u6027\u80fd\u76d1\u63a7\u5230\u5e38\u89c1\u9677\u9631\u89c4\u907f\uff0c\u5168\u65b9\u4f4d\u52a9\u529b\u5f00\u53d1\u8005\u63d0\u5347\u670d\u52a1\u5668\u6027\u80fd\u3002### 1. \u7406\u89e3PHP-FPM\u57fa\u672c\u67b6\u6784- **\u75db\u70b9**\uff1a\u65b0\u624b\u5e38\u5c06PHP-FPM\u89c6\u4e3a\u9ed1\u76d2\u5b50\uff0c\u5bfc\u81f4\u914d\u7f6e\u4e0d\u5f53\u5f15\u53d1\u670d\u52a1\u5668\u5d29\u6e83\u3002- **\u89e3\u51b3\u65b9\u6848**\uff1a\u638c\u63e1Master\u8fdb\u7a0b\u3001Worker\u8fdb\u7a0b\u548cCGI\u534f\u8bae\u7684\u534f\u540c\u5de5\u4f5c\u5173\u7cfb\uff0c\u5408\u7406\u914d\u7f6e\u8fdb\u7a0b\u6570\u91cf\u3002### 2. \u5173\u952e\u914d\u7f6e\u53c2\u6570\u6df1\u5ea6\u89e3\u6790- **\u75db\u70b9**\uff1a\u65b0\u624b\u5e38\u56e0\u5173\u952e\u53c2\u6570\u914d\u7f6e\u4e0d\u5f53\u5bfc\u81f4\u6027\u80fd\u95ee\u9898\u3002- **\u89e3\u51b3\u65b9\u6848**\uff1a\u63d0\u4f9b\u519b\u5de5\u7ea7\u914d\u7f6e\u6a21\u677f","og_url":"https:\/\/www.wsisp.com\/helps\/45526.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-07-29T16:15:57+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/07\/20250729161554-6888f3bac7153.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/45526.html","url":"https:\/\/www.wsisp.com\/helps\/45526.html","name":"\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-07-29T16:15:57+00:00","dateModified":"2025-07-29T16:15:57+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/45526.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/45526.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/45526.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u3010PHP\u5f00\u53d1900\u4e2a\u5b9e\u7528\u6280\u5de7\u3011329.\u670d\u52a1\u5668\u53c2\u6570\u8c03\u4f18\uff1aPHP-FPM\u914d\u7f6e\u7684\u6781\u9650\u6027\u80fd\u653b\u7565"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/45526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=45526"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/45526\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/45525"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=45526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=45526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=45526"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=45526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}