{"id":3352,"date":"2024-05-04T13:44:43","date_gmt":"2024-05-04T05:44:43","guid":{"rendered":"http:\/\/blog.zeng.com\/?p=3348"},"modified":"2024-05-04T13:44:43","modified_gmt":"2024-05-04T05:44:43","slug":"%e6%96%b0%e7%9a%84%e6%9c%ac%e5%9c%b0%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8a%e9%81%87%e5%88%b0%e4%b8%8a%e4%bc%a0%e9%94%99%e8%af%af","status":"publish","type":"post","link":"https:\/\/blog.zengqq.com.cn\/?p=3352","title":{"rendered":"\u65b0\u7684\u672c\u5730\u670d\u52a1\u5668\u4e0a\u9047\u5230\u4e0a\u4f20\u9519\u8bef"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/blog.zeng.com\/wp-content\/uploads\/2024\/05\/\u622a\u5c4f2024-05-04-\u4e0b\u534812.54.41-1024x169.png\" alt=\"\" class=\"wp-image-3349\"\/><\/figure>\n\n\n\n<p>\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u9996\u5148\u67e5\u770b\u4e86php.ini\u91cc\u9762\u7684\u914d\u7f6e\uff0c\u6ca1\u6709\u95ee\u9898\uff0c\u6211\u653e\u7684\u662f20000M\uff0820G\uff09\u8c6a\u6a2a\u7684\u6570\u5b57\uff0c\u4f46\u662f\u8fd8\u662f\u6709\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u95ee\u9898\u53ea\u5728\u672c\u5730\u7684\u670d\u52a1\u5668\u4e0a\u9047\u5230\uff0c\u4e0a\u7f51\u641c\u4e86\u4e00\u4e0b\uff0c\u8bf4\u5b9e\u5728niginx\u91cc\u9762\u8981\u6dfb\u52a0client_max_body_size\uff0c\u4f46\u662f\u6211\u6709\u4e2a\u7591\u60d1\uff0c\u65e2\u7136\u8fd9\u5f88\u91cd\u8981\u4e3a\u4ec0\u4e48\u539f\u59cb\u7684Nginx\u91cc\u9762\u4f1a\u6ca1\u6709\uff1f\u628a\u8fd9\u4e2a\u95ee\u9898\u653e\u4e00\u8fb9\uff0c\u6211\u7167\u846b\u82a6\u753b\u74e2\u6dfb\u52a0\u4e86\u914d\u7f6e\uff0c\u8bbe\u7f6e\u91cc\u653e\u4e86100M\u7b97\u662f\u6682\u65f6\u89e3\u51b3\u4e86\u8fd9\u4e2a\u95ee\u9898\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">sudo vim \/etc\/php\/8.1\/fpm\/php.ini\n#\u914d\u7f6e\u6dfb\u52a0\u5728{http}\u91cc\u9762\uff1a\n\nclient_max_body_size 100M;\n\n#\u5b8c\u4e86\u4e4b\u540e\u518dreload Nginx\n\nsudo systemctl reload nginx.service<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/blog.zeng.com\/wp-content\/uploads\/2024\/05\/\u622a\u5c4f2024-05-04-\u4e0b\u53481.45.59-1024x270.png\" alt=\"\" class=\"wp-image-3352\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u9047\u5230\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u9996\u5148\u67e5\u770b\u4e86php.ini\u91cc\u9762\u7684\u914d\u7f6e [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[357,253,89],"tags":[81,54,2897,2898],"class_list":["post-3352","post","type-post","status-publish","format-standard","hentry","category-zero2hero","category-fun","category-live","tag-client_max_body_size","tag-nginx","tag-2897","tag-2898"],"_links":{"self":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/3352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3352"}],"version-history":[{"count":0,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=\/wp\/v2\/posts\/3352\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zengqq.com.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}