{"id":29315,"date":"2024-11-25T09:40:03","date_gmt":"2024-11-25T01:40:03","guid":{"rendered":"https:\/\/fwq.ai\/blog\/29315\/"},"modified":"2024-11-25T09:40:03","modified_gmt":"2024-11-25T01:40:03","slug":"phpcms-hash%e6%95%b0%e6%8d%ae%e9%aa%8c%e8%af%81%e5%a4%b1%e8%b4%a5%e6%80%8e%e4%b9%88%e8%a7%a3%e5%86%b3","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/29315\/","title":{"rendered":"phpcms hash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\u600e\u4e48\u89e3\u51b3"},"content":{"rendered":"<p style=\"text-align: center\"><strong><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/040\/5dc12f86431f4811.jpg\" class=\"aligncenter\" title=\"phpcms hash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\u600e\u4e48\u89e3\u51b3\u63d2\u56fe\" alt=\"phpcms hash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\u600e\u4e48\u89e3\u51b3\u63d2\u56fe\" \/><\/strong><\/p>\n<p><strong> hash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\u600e\u4e48\u89e3\u51b3<\/strong><\/p>\n<p>phpcms\u5728\u4fee\u6539\u4e2a\u522b\u6587\u7ae0\u7684\u65f6\u5019\u4fdd\u5b58\u5931\u8d25\uff0c\u63d0\u793ahash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\u3002\u4e0b\u9762\u8bf4\u8bf4\u600e\u4e48\u89e3\u51b3\u5427\u3002<strong><br \/><\/strong><\/p>\n<p>1\u3001\u9996\u5148\u627e\u5230 <span>php.ini<\/span> \u6587\u4ef6 \u6211\u7684\u662f\u653e\u5728(\/usr\/local\/php\/etc)\u76ee\u5f55\u4e0b<\/p>\n<p>2\u3001\u7136\u540e\u627e\u5230 <span>max_input_vars<\/span> \u53c2\u6570\uff0c\u770b\u4e00\u4e0b max_input_vars \u53c2\u6570\u524d\u9762\u662f\u5426\u6709\u5206\u53f7\uff08\uff1b\uff09\uff0c\u5982\u679c\u6709\uff0c\u628a\u5206\u53f7\u53bb\u6389\uff0c\u539f\u59cb\u7684\u53c2\u6570 max_input_vars \u7684\u503c\u5e94\u8be5\u662f1000\uff0c\u6539\u6210 10000 \u6216\u8005100000\uff0c\u610f\u601d\u5c31\u662f\u628a max_input_vars \u6539\u7684\u6bd4\u4ee5\u524d\u5927\u4e00\u70b9\uff0c\u4e4b\u540e\u4fdd\u5b58\u3002<\/p>\n<p>3\u3001\u6700\u540e\u91cd\u542f php \u670d\u52a1\u6216\u8005\u91cd\u542f apache \u670d\u52a1<\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<pre>service&nbsp;php-fpm&nbsp;restart\nservice&nbsp;httpd&nbsp;restart<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5230\u540e\u53f0\u5237\u65b0\u9875\u9762 \uff0c \u53ef\u4ee5\u6b63\u5e38\u4fdd\u5b58\u4e86\u3002<\/p>\n<p>\u63a8\u8350\u6559\u7a0b\uff1a<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f hash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\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>hash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\u600e\u4e48\u89e3\u51b3 phpcms\u5728\u4fee\u6539\u4e2a\u522b\u6587\u7ae0\u7684\u65f6\u5019\u4fdd\u5b58\u5931\u8d25\uff0c\u63d0\u793ahash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\u3002\u4e0b\u9762\u8bf4\u8bf4\u600e\u4e48\u89e3\u51b3\u5427\u3002 1\u3001\u9996\u5148\u627e\u5230 php.ini \u6587\u4ef6 \u6211\u7684\u662f\u653e\u5728(\/usr\/local\/php\/etc)\u76ee\u5f55\u4e0b 2\u3001\u7136\u540e\u627e\u5230 max_input_vars \u53c2\u6570\uff0c\u770b\u4e00\u4e0b max_input_vars \u53c2\u6570\u524d\u9762\u662f\u5426\u6709\u5206\u53f7\uff08\uff1b\uff09\uff0c\u5982\u679c\u6709\uff0c\u628a\u5206\u53f7\u53bb\u6389\uff0c\u539f\u59cb\u7684\u53c2\u6570 max_input_vars \u7684\u503c\u5e94\u8be5\u662f1000\uff0c\u6539\u6210 10000 \u6216\u8005100000\uff0c\u610f\u601d\u5c31\u662f\u628a max_input_vars \u6539\u7684\u6bd4\u4ee5\u524d\u5927\u4e00\u70b9\uff0c\u4e4b\u540e\u4fdd\u5b58\u3002 3\u3001\u6700\u540e\u91cd\u542f php \u670d\u52a1\u6216\u8005\u91cd\u542f apache \u670d\u52a1 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b service&nbsp;php-fpm&nbsp;restart service&nbsp;httpd&nbsp;restart \u767b\u5f55\u540e\u590d\u5236 \u5230\u540e\u53f0\u5237\u65b0\u9875\u9762 \uff0c \u53ef\u4ee5\u6b63\u5e38\u4fdd\u5b58\u4e86\u3002 \u63a8\u8350\u6559\u7a0b\uff1a \u4ee5\u4e0a\u5c31\u662f hash\u6570\u636e\u9a8c\u8bc1\u5931\u8d25\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},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-29315","post","type-post","status-publish","format-standard","hentry","category-cms"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29315","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=29315"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/29315\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=29315"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=29315"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=29315"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}