{"id":149,"date":"2022-05-01T12:01:38","date_gmt":"2022-05-01T04:01:38","guid":{"rendered":"https:\/\/www.onwith.net\/?p=149"},"modified":"2022-05-01T12:44:01","modified_gmt":"2022-05-01T04:44:01","slug":"%e5%a6%82%e4%bd%95%e4%bf%ae%e6%94%b9wordpress%e6%9c%80%e5%a4%a7%e4%b8%8a%e4%bc%a0%e6%96%87%e4%bb%b6%e5%a4%a7%e5%b0%8f%e9%99%90%e5%88%b6%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.onwith.net\/index.php\/149.html","title":{"rendered":"\u5982\u4f55\u4fee\u6539WordPress\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\uff1f"},"content":{"rendered":"<p>\u8f83\u4f4e\u7684WordPress\u4e0a\u4f20\u9650\u5236\u53ef\u963b\u6b62\u60a8\u4e0a\u4f20\u5927\u6587\u4ef6\uff0c\u63d2\u4ef6\u548c\u4e3b\u9898\u3002\u5982\u679c\u60a8\u8981\u5efa\u7acb\u4e00\u4e2a\u62e5\u6709\u5927\u91cf\u591a\u5a92\u4f53\u8d44\u6e90\u7684\u7f51\u7ad9\uff0c\u90a3\u8fd9\u5c06\u662f\u4e00\u4e2a\u5f88\u5927\u7684\u969c\u788d\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u6709\u5fc5\u8981\u589e\u52a0WordPress\u6216\u670d\u52a1\u5668\uff08\u6216\u4e24\u8005\uff09\u4e2d\u7684\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u3002<\/p>\n<p>\u4e5f\u7ecf\u5e38\u5728WordPress\u4ea4\u6d41\u7fa4\u91cc\u770b\u5230\u7ad9\u957f\u54a8\u8be2\u5173\u4e8eWordPress\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u7684\u95ee\u9898\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u6709\u5fc5\u8981\u9488\u5bf9WordPress\u4e0a\u4f20\u5927\u5c0f\u9650\u5236\u8bdd\u9898\u64b0\u5199\u4e00\u7bc7\u6587\u7ae0\uff0c\u4ee5\u89e3\u4f17\u60d1\u3002<\/p>\n<p>\u6839\u636e\u4e0d\u540c\u7684\u670d\u52a1\u5668\u6258\u7ba1\u63d0\u4f9b\u5546\u548c\u670d\u52a1\u5668\uff0c\u6709\u5f88\u591a\u65b9\u6cd5\u53ef\u4ee5\u89e3\u51b3\u6b64\u95ee\u9898\u3002\u6211\u4eec\u5c06\u5728\u672c\u6559\u7a0b\u4e2d\u5c3d\u53ef\u80fd\u5168\u9762\u5730\u4ecb\u7ecd\u8bbe\u7f6eWordPress\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u9650\u5236\u3002<\/p>\n<aside class=\"toc pb--50 pt--50 mt--50 mb--50\">\n<ol class=\"toc-list toc-list--arrow\">\n<li id=\"#what-is-the-maximum-upload-size-in-wordpress\">WordPress\u6700\u5927\u4e0a\u4f20\u9650\u5236\u662f\u591a\u5c11\uff1f<\/li>\n<li id=\"#how-to-check-the-current-maximum-upload-size-in-wordpress\">\u5982\u4f55\u68c0\u67e5WordPress\u5f53\u524d\u6700\u5927\u4e0a\u4f20\u9650\u5236<\/li>\n<li id=\"#why-increase-the-maximum-upload-file-size-in-wordpress\">\u4e3a\u4ec0\u4e48\u8981\u589e\u52a0WordPress\u6700\u5927\u4e0a\u4f20\u9650\u5236\uff1f<\/li>\n<li id=\"#10-ways-to-increase-the-max-upload-file-size-in-wordpress\">\u589e\u52a0WordPress\u6700\u5927\u4e0a\u4f20\u9650\u5236\u768410\u79cd\u65b9\u6cd5<\/li>\n<li id=\"#dont-edit-the-wpconfigphp-file\">\u4e0d\u8981\u7f16\u8f91 \u201cwp-config.php\u201d \u6587\u4ef6<\/li>\n<li id=\"#verify-your-wordpress-sites-new-max-upload-file-size\">\u9a8c\u8bc1WordPress\u7f51\u7ad9\u65b0\u7684\u6700\u5927\u4e0a\u4f20\u9650\u5236<\/li>\n<\/ol>\n<\/aside>\n<h3 id=\"what-is-the-maximum-upload-size-in-wordpress\">WordPress\u6700\u5927\u4e0a\u4f20\u9650\u5236\u662f\u591a\u5c11\uff1f<\/h3>\n<p>\u5c06\u5927\u6587\u4ef6\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u4f1a\u6d88\u8017\u5927\u91cf\u670d\u52a1\u5668\u8d44\u6e90\u3002\u4e3a\u4e86\u9632\u6b62\u7528\u6237\u56e0\u4e0a\u4f20\u6587\u4ef6\u9020\u6210\u670d\u52a1\u5668\u8d85\u65f6\uff0cWordPress\u9ed8\u8ba4\u7684\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u901a\u5e38\u4e3a<strong>4 MB<\/strong>\u5230<strong>128 MB<\/strong>\u3002\u901a\u5e38\uff0c\u670d\u52a1\u5668\u6258\u7ba1\u63d0\u4f9b\u5546\u6216\u8005\u670d\u52a1\u5668\u8f6f\u4ef6\u5728\u670d\u52a1\u5668\u7ea7\u522b\u8bbe\u7f6e\u6b64\u9650\u5236\u3002<\/p>\n<p>WordPress\u8fd8\u5305\u542b\u5b9a\u4e49\u6b64\u9650\u5236\u7684\u5e38\u91cf\uff0c\u4f46\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u5b83\u4eec\u4e0d\u80fd\u8986\u76d6\u670d\u52a1\u5668\u7ea7\u522b\u7684\u8bbe\u7f6e\u3002<\/p>\n<p class=\"notice__content\">\u670d\u52a1\u5668\u9ed8\u8ba4\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\uff0c\u4e0d\u540c\u7684\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u6709\u4e0d\u540c\u7684\u8bbe\u7f6e\uff0c\u4e00\u822c\u4e0d\u4f1a\u8d85\u8fc7128MB\u3002<\/p>\n<p>\u8981\u9a8c\u8bc1\u8fd9\u4e00\u70b9\uff0c\u8bf7\u8f6c\u5230WordPress\u7f51\u7ad9\u7684\u201c\u5a92\u4f53\u5e93\u201d\u3002\u5728\u8fd9\u91cc\uff0c\u5c1d\u8bd5\u4e0a\u4f20\u8d85\u51fa\u6b64\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u7684\u6587\u4ef6\u3002\u60a8\u4f1a\u770b\u5230\u4e00\u6761\u7c7b\u4f3c\u4ee5\u4e0b\u5185\u5bb9\u7684\u9519\u8bef\u6d88\u606f\uff1a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-150\" title=\"Increase-Max-Upload-Size-WordPress-Error-1024x503-1\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Increase-Max-Upload-Size-WordPress-Error-1024x503-1.png?resize=604%2C297\" alt=\"Increase-Max-Upload-Size-WordPress-Error-1024x503-1\" width=\"604\" height=\"297\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Increase-Max-Upload-Size-WordPress-Error-1024x503-1.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Increase-Max-Upload-Size-WordPress-Error-1024x503-1.png?resize=300%2C147&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Increase-Max-Upload-Size-WordPress-Error-1024x503-1.png?resize=768%2C377&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Increase-Max-Upload-Size-WordPress-Error-1024x503-1.png?resize=670%2C329&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">\u5728WordPress\u4e2d\u4e0a\u4f20\u5927\u6587\u4ef6\u65f6\u51fa\u9519<\/p>\n<p>\u201c\u8d85\u8fc7\u4e86\u7ad9\u70b9\u7684\u6700\u5927\u4e0a\u4f20\u9650\u5236\u201d\u4e3b\u8981\u6709\u4e24\u4e2a\u539f\u56e0\uff1a\u5b89\u5168\u6027\u548c\u6548\u7387\u3002\u8fd9\u4f1a\u963b\u6b62\u7ad9\u70b9\u6240\u6709\u8005\u548c\u5176\u4ed6\u7528\u6237\uff08\u5305\u62ec\u6076\u610f\u884c\u4e3a\u8005\uff09\u4e0a\u4f20\u5927\u6587\u4ef6\uff08\u4f8b\u5982\uff0c\u9ad8\u5206\u8fa8\u7387\u56fe\u50cf\uff0c\u5927\u89c6\u9891\uff09\u3002<\/p>\n<p>\u5426\u5219\uff0c\u53ef\u80fd\u5bfc\u81f4\u7f51\u7ad9\u670d\u52a1\u5668\u65e0\u6cd5\u4f7f\u7528\uff0c\u4ece\u800c\u4f7f\u7f51\u7ad9\u65e0\u6cd5\u6b63\u5e38\u8fd0\u884c\u3002\u66f4\u7cdf\u7cd5\u7684\u662f\uff0c\u5b83\u53ef\u80fd\u4f1a\u4f7f\u7f51\u7ad9\u5f7b\u5e95\u762b\u75ea\uff01<\/p>\n<h3 id=\"how-to-check-the-current-maximum-upload-size-in-wordpress\">\u5982\u4f55\u68c0\u67e5WordPress\u5f53\u524d\u7684\u6700\u5927\u4e0a\u4f20\u9650\u5236<\/h3>\n<p>\u6709\u5f88\u591a\u65b9\u6cd5\u53ef\u4ee5\u68c0\u67e5\u60a8\u7684WordPress\u7f51\u7ad9\u5f53\u524d\u7684\u6700\u5927\u4e0a\u4f20\u9650\u5236\uff0c\u5177\u4f53\u5982\u4e0b\u3002<\/p>\n<h4 class=\"has-anchor-hash\">\u5728\u5a92\u4f53\u5e93\u4e2d<\/h4>\n<p>\u68c0\u67e5\u7f51\u7ad9\u5f53\u524d\u6700\u5927\u4e0a\u4f20\u9650\u5236\u7684\u6700\u4fbf\u6377\u7684\u65b9\u6cd5\u662f\u8f6c\u5230WordPress\u4eea\u8868\u76d8\uff0c\u7136\u540e\u4ece\u6b64\u5904\u8f6c\u5230<strong>\u5a92\u4f53&gt;\u5a92\u4f53\u5e93<\/strong>\u3002\u70b9\u51fb<strong>\u6dfb\u52a0\u65b0\u6587\u4ef6<\/strong>\u6309\u94ae\u4ee5\u542f\u7528\u5a92\u4f53\u4e0a\u4f20\u5de5\u5177\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-151\" title=\"WordPress-Media-Library-Add-New-Max-Upload-Size-Limit-1024x315-1\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Library-Add-New-Max-Upload-Size-Limit-1024x315-1.png?resize=604%2C186\" alt=\"WordPress-Media-Library-Add-New-Max-Upload-Size-Limit-1024x315-1\" width=\"604\" height=\"186\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Library-Add-New-Max-Upload-Size-Limit-1024x315-1.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Library-Add-New-Max-Upload-Size-Limit-1024x315-1.png?resize=300%2C92&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Library-Add-New-Max-Upload-Size-Limit-1024x315-1.png?resize=768%2C236&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Library-Add-New-Max-Upload-Size-Limit-1024x315-1.png?resize=670%2C206&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>WordPress\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/p>\n<p>\u56fd\u5916\u90e8\u5206\u670d\u52a1\u5668\u6258\u7ba1\u7ad9\u70b9\u65f6\uff0c<b>\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/b>\u6d88\u606f\u5c06\u663e\u793a\u5728\u201c<strong>\u9009\u62e9\u6587\u4ef6\u201d<\/strong>\u6309\u94ae\u4e0b\u65b9\u3002\u5982\u679c\u60a8\u4f7f\u7528\u5176\u4ed6\u7f51\u7edc\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\uff0c\u5219\u53ef\u80fd\u4f1a\u5728\u6b64\u5904\u770b\u5230\u5176\u4ed6\u9650\u5236\u3002<\/p>\n<p>\u60a8\u4e5f\u53ef\u4ee5\u76f4\u63a5\u8f6c\u5230<strong>\u5a92\u4f53&gt;\u6dfb\u52a0\u65b0\u5185\u5bb9<\/strong>\uff0c\u5e76\u5728\u5e95\u90e8\u770b\u5230\u76f8\u540c\u7684\u6d88\u606f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-152\" title=\"WordPress-Media-Add-New-Page-Max-Upload-File-Size-Limit\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Add-New-Page-Max-Upload-File-Size-Limit.png?resize=604%2C238\" alt=\"WordPress-Media-Add-New-Page-Max-Upload-File-Size-Limit\" width=\"604\" height=\"238\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Add-New-Page-Max-Upload-File-Size-Limit.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Add-New-Page-Max-Upload-File-Size-Limit.png?resize=300%2C118&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Add-New-Page-Max-Upload-File-Size-Limit.png?resize=1024%2C404&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Add-New-Page-Max-Upload-File-Size-Limit.png?resize=768%2C303&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WordPress-Media-Add-New-Page-Max-Upload-File-Size-Limit.png?resize=670%2C264&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>WordPress\u5a92\u4f53\u5e93\u4e2d\u7684\u201c\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u201d<\/p>\n<p>\u540c\u6837\uff0c\u60a8\u53ef\u4ee5\u5728\u6b64\u5904\u770b\u5230\u6700\u5927<strong>128 MB\u7684<\/strong>\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u3002<\/p>\n<h4 class=\"has-anchor-hash\">\u5728\u7ad9\u70b9\u5065\u5eb7\u4fe1\u606f\u4e2d<\/h4>\n<p>WordPress 5.2\u6dfb\u52a0\u4e86Site Health Info\u5de5\u5177\uff0c\u4ee5\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u8c03\u8bd5WordPress\u7f51\u7ad9\u3002\u5728\u8fd9\u91cc\uff0c\u60a8\u51e0\u4e4e\u53ef\u4ee5\u627e\u5230\u6709\u5173\u670d\u52a1\u5668\u548cWordPress\u914d\u7f6e\u7684\u6240\u6709\u4fe1\u606f\u3002<\/p>\n<p>\u7531\u4e8e\u670d\u52a1\u5668\u548cWordPress\u90fd\u8bbe\u7f6e\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\uff0c\u5728\u6b64\u754c\u9762\u4e0a\u6709\u4e24\u79cd\u65b9\u6cd5\u53ef\u4ee5\u627e\u5230\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u503c\u3002<\/p>\n<p>\u9996\u5148\uff0c\u60a8\u53ef\u4ee5\u5728\u201c<strong>\u5a92\u4f53\u5904\u7406\u201d<\/strong>\u4e0b\u62c9\u5217\u8868\u4e2d\u627e\u5230\u201c<strong>\u6700\u5927\u5355\u4e00\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/strong>\u201d\u7684\u503c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-153\" title=\"Site-Health-Info-WordPress-Media-Max-Size-Uploaded-File-1024x775-1\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Media-Max-Size-Uploaded-File-1024x775-1.png?resize=604%2C457\" alt=\"Site-Health-Info-WordPress-Media-Max-Size-Uploaded-File-1024x775-1\" width=\"604\" height=\"457\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Media-Max-Size-Uploaded-File-1024x775-1.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Media-Max-Size-Uploaded-File-1024x775-1.png?resize=300%2C227&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Media-Max-Size-Uploaded-File-1024x775-1.png?resize=768%2C581&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Media-Max-Size-Uploaded-File-1024x775-1.png?resize=670%2C507&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>\u201c\u7ad9\u70b9\u5065\u5eb7\u201d\u4fe1\u606f\u9762\u677f\u4e2d\u7684\u5a92\u4f53\u5904\u7406\u8bbe\u7f6e<\/p>\n<p>\u7b2c\u4e8c\u79cd\u65b9\u6cd5\u662f\u5728\u201c<strong>\u670d\u52a1\u5668\u201d<\/strong>\u4e0b\u62c9\u5217\u8868\u53ef\u4ee5\u770b\u5230\u4e0e\u60a8\u7684\u7f51\u7ad9\u670d\u52a1\u5668\u8bbe\u7f6e\u76f8\u5173\u7684\u4fe1\u606f\u3002\u627e\u5230\u201c<strong>\u4e0a\u4f20\u6700\u5927\u6587\u4ef6\u5927\u5c0f<\/strong>\u201d\u7684\u5bf9\u5e94\u503c\uff0c\u5373\u4f60\u7684WordPress\u7684\u6700\u5927\u4e0a\u4f20\u9650\u5236\u3002\u4e0b\u9762\u622a\u56fe\u7684\u6f14\u793a\u7ad9\u70b9\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u4e3a<strong>128 MB<\/strong>\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-154\" title=\"Site-Health-Info-WordPress-Server-Uploaded-Max-Filesize-1024x808-1\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Server-Uploaded-Max-Filesize-1024x808-1.png?resize=604%2C477\" alt=\"Site-Health-Info-WordPress-Server-Uploaded-Max-Filesize-1024x808-1\" width=\"604\" height=\"477\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Server-Uploaded-Max-Filesize-1024x808-1.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Server-Uploaded-Max-Filesize-1024x808-1.png?resize=300%2C237&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Server-Uploaded-Max-Filesize-1024x808-1.png?resize=768%2C606&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Site-Health-Info-WordPress-Server-Uploaded-Max-Filesize-1024x808-1.png?resize=670%2C529&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>\u201c\u7ad9\u70b9\u5065\u5eb7\u201d\u4fe1\u606f\u9762\u677f\u4e2d\u7684\u670d\u52a1\u5668\u8bbe\u7f6e<\/p>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u67e5\u770b\u5176\u4ed6PHP\u5e38\u91cf\u53ca\u5176\u503c\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li><strong><code>PHP post max size<\/code>\uff1a<\/strong>\u5b9a\u4e49POST\u8bf7\u6c42\u7684\u6700\u5927\u4e0a\u4f20\u9650\u5236\u3002<\/li>\n<li><strong><code>PHP memory limit<\/code>\uff1a<\/strong>\u5b9a\u4e49\u4e3aPHP\u5206\u914d\u7684\u5185\u5b58\u3002\u5e94\u5c06\u5176\u8bbe\u7f6e\u4e3a\u7b49\u4e8e\u6216\u5927\u4e8e\u6700\u5927\u4e0a\u4f20\u9650\u5236\u3002\u5426\u5219\uff0c\u4e0a\u4f20\u5c06\u5931\u8d25\u3002<\/li>\n<\/ul>\n<p>\u4e00\u822c\u60c5\u51b5\u4e0b\u914d\u7f6e\u8d8a\u4f4e\u7684\u865a\u62df\u4e3b\u673a\uff0c\u8fd9\u4e9b\u9009\u9879\u6240\u8bbe\u7f6e\u7684\u503c\u8d8a\u5c0f\u3002\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48\u5c0f\u7f16\u5e38\u5e38\u5efa\u8bae\u7ad9\u957f\u5c3d\u53ef\u80fd\u9009\u8d2dVPS\u4f5c\u4e3aWordPress\u7f51\u7ad9\u7684\u670d\u52a1\u5668\uff0c\u56e0\u4e3a\u5141\u8bb8\u7ad9\u957f\u81ea\u884c\u914d\u7f6e\u8fd9\u4e9b\u9009\u9879\u7684\u503c\u3002<\/p>\n<h3 id=\"why-increase-the-maximum-upload-file-size-in-wordpress\">\u4e3a\u4ec0\u4e48\u589e\u52a0WordPress\u6700\u5927\u4e0a\u4f20\u9650\u5236\uff1f<\/h3>\n<p>\u6709\u8bb8\u591a\u539f\u56e0\u53ef\u80fd\u5bfc\u81f4\u60a8\u9700\u8981\u589e\u52a0WordPress\u7f51\u7ad9\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\uff0c\u6700\u5e38\u89c1\u7684\u539f\u56e0\u6709\uff1a<\/p>\n<ul>\n<li>\u901a\u8fc7WordPress\u7ba1\u7406\u4eea\u8868\u76d8\u5b89\u88c5\u5927\u578b\u4e3b\u9898\u6216\u63d2\u4ef6\u3002<\/li>\n<li>\u5b9a\u671f\u66f4\u65b0WordPress\u7f51\u7ad9\u5185\u5bb9\u4ee5\u4fdd\u6301\u8bfb\u8005\u53c2\u4e0e\u5ea6\u5e76\u83b7\u5f97\u66f4\u591a\u56de\u62a5\u3002\u8fd9\u5305\u62ec\u5b9a\u671f\u4e0a\u4f20\u65b0\u56fe\u50cf\uff0c\u89c6\u9891\uff0c\u97f3\u9891\u548c\u5176\u4ed6\u5a92\u4f53\u3002\u4f46\u662f\uff0c\u5f53\u60a8\u7684\u4e0a\u4f20\u6587\u4ef6\u6709\u5927\u5c0f\u9650\u5236\u65f6\uff0c\u8fd9\u5e76\u4e0d\u603b\u662f\u53ef\u884c\u7684\u3002<\/li>\n<li>\u4e0a\u4f20\u5927\u578b\u89c6\u9891\u6216\u56fe\u50cf\u4f5c\u4e3a\u7f51\u7ad9\u7684\u80cc\u666f\u6216Header\u3002<\/li>\n<li>\u76f4\u63a5\u4ece\u7ad9\u70b9\u51fa\u552e\u6570\u5b57\u6587\u4ef6\uff0c\u4f8b\u5982\u7535\u5b50\u4e66\uff0c\u7167\u7247\uff0c\u89c6\u9891\uff0c\u4e3b\u9898\u548c\u63d2\u4ef6\u3002\u6709\u65f6\uff0c\u8fd9\u4e9b\u6587\u4ef6\u9ad8\u8fbe\u6570\u767e\u5146\u5b57\u8282\uff08\u6216\u66f4\u591a\uff09\u3002<\/li>\n<\/ul>\n<p>\u4e0a\u9762\u6211\u4eec\u4e86\u89e3\u4e86WordPress\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u7684\u57fa\u7840\u77e5\u8bc6\uff0c\u4e0b\u9762\u8ba9\u6211\u4eec\u4e00\u8d77\u6df1\u5165\u4e86\u89e3\u5982\u4f55\u4fee\u6539\u6700\u5927\u4e0a\u4f20\u9650\u5236\u503c\u3002<\/p>\n<h3 class=\"10-ways-to-increase-the-max-upload-file-size-in-wordpress\">\u589e\u52a0WordPress\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u768410\u79cd\u65b9\u6cd5<\/h3>\n<p>\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u6765\u89e3\u51b3WordPress\u7684\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u95ee\u9898\uff0c\u4e0b\u9762\u5341\u79cd\u65b9\u6cd5\u5c06\u7531\u6d45\u53ca\u6df1\uff0c\u6216\u8005\u7531\u7b80\u5355\u5230\u590d\u6742\u6392\u5217\u3002<\/p>\n<ol class=\"sub-toc-list sub-toc-list--decimal\">\n<li id=\"#contact-your-hosting-provider-for-help\">\u8054\u7cfb\u670d\u52a1\u5668\u6258\u7ba1\u63d0\u4f9b\u5546\u4ee5\u83b7\u53d6\u5e2e\u52a9<\/li>\n<li id=\"#increase-the-max-upload-file-size-in-wordpress-multisite\">\u5728WordPress\u591a\u7ad9\u70b9\u4e2d\u589e\u52a0\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/li>\n<li id=\"#update-your-htaccess-file\">\u66f4\u65b0 \u201c.htaccess\u201d \u6587\u4ef6<\/li>\n<li id=\"#create-or-modify-the-phpini-file\">\u521b\u5efa\u6216\u4fee\u6539 \u201cphp.ini\u201d \u6587\u4ef6<\/li>\n<li id=\"#create-or-modify-the-userini-file\">\u521b\u5efa\u6216\u4fee\u6539 \u201c.user.ini\u201d \u6587\u4ef6<\/li>\n<li id=\"#change-php-options-via-cpanel\">\u901a\u8fc7cPanel\u66f4\u6539PHP\u9009\u9879<\/li>\n<li id=\"#increase-the-max-upload-file-size-in-nginx\">\u5728Nginx\u4e2d\u589e\u52a0\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/li>\n<li id=\"#use-the-wordpress-upload_size_limit-filter\">\u4f7f\u7528WordPress\u7684 \u201cupload_size_limit\u201d \u8fc7\u6ee4\u5668<\/li>\n<li id=\"#use-a-wordpress-plugin\">\u4f7f\u7528WordPress\u63d2\u4ef6<\/li>\n<li id=\"#upload-files-via-ftpsftp\">\u901a\u8fc7FTP\/SFTP\u4e0a\u4f20\u6587\u4ef6<\/li>\n<\/ol>\n<h4 id=\"contact-your-hosting-provider-for-help\">\u8054\u7cfb\u670d\u52a1\u5668\u6258\u7ba1\u63d0\u4f9b\u5546\u4ee5\u83b7\u53d6\u5e2e\u52a9<\/h4>\n<p>\u5982\u679c\u60a8\u5728\u4e0a\u4f20\u6587\u4ef6\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u65b9\u9762\u9047\u5230\u95ee\u9898\uff0c\u8bf7\u8054\u7cfb\u670d\u52a1\u5668\u6258\u7ba1\u63d0\u4f9b\u5546\u4ee5\u5bfb\u6c42\u5e2e\u52a9\uff0c\u8fd9\u662f\u6700\u5feb\u7684\u89e3\u51b3\u65b9\u6848\u4e4b\u4e00\u3002\u589e\u52a0\u4e0a\u4f20\u9650\u5236\u662f\u4e00\u9879\u6280\u672f\u652f\u6301\u7684\u7410\u788e\u4efb\u52a1\uff0c\u56e0\u6b64\u5927\u591a\u6570\u6258\u7ba1\u516c\u53f8\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5feb\u901f\u89e3\u51b3\u6b64\u95ee\u9898\u3002<\/p>\n<p>\u4fee\u6539\u670d\u52a1\u5668\u6216\u7ad9\u70b9\u914d\u7f6e\u6587\u4ef6\u5bf9\u4e8e\u4e0d\u719f\u6089\u670d\u52a1\u5668\u914d\u7f6e\u7684\u4eba\u4eec\u6765\u8bf4\u59cb\u7ec8\u662f\u4e00\u9879\u8270\u5de8\u7684\u4efb\u52a1\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u5efa\u8bae\u60a8\u9996\u5148\u5c1d\u8bd5\u6b64\u65b9\u6cd5\u3002<\/p>\n<p>\u6ce8\uff1a\u4e00\u822c\u865a\u62df\u4e3b\u673a\uff0c\u5982\u9700\u8981\u4fee\u6539WordPress\u6700\u5927\u4e0a\u4f20\u9650\u5236\u503c\uff0c\u53ef\u80fd\u751a\u81f3\u5fc5\u987b\u901a\u8fc7\u8054\u7cfb\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u6280\u672f\u5ba2\u670d\u6765\u4fee\u6539\u3002<\/p>\n<h4 id=\"increase-the-max-upload-file-size-in-wordpress-multisite\">\u5728WordPress\u591a\u7ad9\u70b9\u4e2d\u589e\u52a0\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/h4>\n<p>\u5982\u679c\u60a8\u6b63\u5728\u8fd0\u884cWordPress Multisite\u7f51\u7edc\uff0c\u5219\u53ef\u4ee5\u4fee\u6539\u7f51\u7edc\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u3002<\/p>\n<p>\u9996\u5148\uff0c\u8f6c\u5230\u201c<strong>\u7f51\u7edc\u7ba1\u7406\u201d<\/strong>\u4eea\u8868\u677f\uff0c\u7136\u540e\u8f6c\u5230<strong>\u201c\u8bbe\u7f6e\u201d&gt;\u201c\u7f51\u7edc\u8bbe\u7f6e\u201d<\/strong>\u5c4f\u5e55\u3002\u5728\u6b64\u5904\u5411\u4e0b\u6eda\u52a8\uff0c\u76f4\u5230\u627e\u5230\u201c<strong>\u4e0a\u4f20\u8bbe\u7f6e\u201d<\/strong>\u90e8\u5206\uff0c\u60a8\u5c06\u4f1a\u627e\u5230\u00a0<code>Max upload file size<\/code> \u5b57\u6bb5\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-155\" title=\"Network-Admin-Settings-Max-Upload-Size\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size.png?resize=604%2C275\" alt=\"Network-Admin-Settings-Max-Upload-Size\" width=\"604\" height=\"275\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size.png?resize=300%2C136&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size.png?resize=1024%2C465&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size.png?resize=768%2C349&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size.png?resize=670%2C305&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">\u201c\u7f51\u7edc\u8bbe\u7f6e\u201d\u4e2d\u7684\u201c\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u201d\u5b57\u6bb5<\/p>\n<p>WordPress Multisite\u4e2d\u7684<strong>\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/strong>\u7684\u9ed8\u8ba4\u503c\u4e3a<strong>1500 KB<\/strong>\uff08\u301c1.5\u00a0<strong>MB<\/strong>\uff09\u3002\u60a8\u53ef\u4ee5\u5c06\u5176\u66f4\u6539\u4e3a\u66f4\u9ad8\u7684\u503c\uff0c\u7136\u540e\u5355\u51fb\u201c<strong>\u4fdd\u5b58\u66f4\u6539\u201d<\/strong>\u6309\u94ae\u3002<\/p>\n<p><strong>\u6ce8\uff1a<\/strong>\u60a8\u4e0d\u80fd\u4ece\u6b64\u5904\u89c4\u907f\u670d\u52a1\u5668\u7ea7\u522b\u7684\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u9650\u5236\u3002\u5982\u679c\u60a8\u5728\u6b64\u5904\u8bbe\u7f6e\u7684\u9650\u5236\u9ad8\u4e8e\u670d\u52a1\u5668\u7684\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u9650\u5236\uff0c\u5219\u670d\u52a1\u5668\u5c06\u5ffd\u7565\u5b83\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4e0a\u8ff0\u65b9\u6cd5\u6765\u67e5\u627eWeb\u670d\u52a1\u5668\u7684\u914d\u7f6e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-156\" title=\"Network-Admin-Settings-Max-Upload-Size-New\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size-New.png?resize=604%2C275\" alt=\"Network-Admin-Settings-Max-Upload-Size-New\" width=\"604\" height=\"275\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size-New.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size-New.png?resize=300%2C136&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size-New.png?resize=1024%2C465&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size-New.png?resize=768%2C349&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Network-Admin-Settings-Max-Upload-Size-New.png?resize=670%2C305&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>\u201c\u7f51\u7edc\u8bbe\u7f6e\u201d\u4e2d\u65b0\u7684\u201c\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u201d<\/p>\n<p>\u672c\u6b21\u6f14\u793a\uff0c\u6211\u4eec\u5c06\u65b0\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u8bbe\u7f6e\u4e3a<strong>131072 KB<\/strong>\uff08<strong>\u301c128\u00a0<\/strong><strong>MB<\/strong>\uff09\u3002<\/p>\n<p>\u60a8\u8fd8\u53ef\u4ee5\u9650\u5236\u4e0a\u4f20\u5230\u591a\u7ad9\u70b9\u7f51\u7edc\u4e2d\u5355\u4e2a\u7ad9\u70b9\u7684\u6587\u4ef6\u7684\u603b\u5927\u5c0f\u3002\u4e00\u822c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5b83\u662f\u7981\u7528\u7684\u3002<\/p>\n<h4 id=\"update-your-htaccess-file\">\u66f4\u65b0 \u201c.htaccess\u201d \u6587\u4ef6<\/h4>\n<p>\u5982\u679c\u60a8\u7684\u7f51\u7ad9\u670d\u52a1\u5668\u5728Apache\u4e0a\u8fd0\u884c\uff0c\u5219\u53ef\u4ee5\u66f4\u65b0\u7ad9\u70b9\u7684<a href=\"https:\/\/www.wbolt.com\/why-cant-find-htaccess-on-wordpress-site.html\">.htaccess\u6587\u4ef6<\/a>\u4ee5\u589e\u52a0WordPress\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u3002\u60a8\u53ef\u4ee5\u5728WordPress\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u4e2d\u627e\u5230<strong>.htaccess<\/strong>\u6587\u4ef6\u3002<\/p>\n<p>\u6839\u636e<a href=\"https:\/\/www.wbolt.com\/go?_=f8d0a4bc1eaHR0cDovL2RvY3MucGhwLm5ldC9tYW51YWwvZW4vaW5pLmNvcmUucGhwI2luaS51cGxvYWQtbWF4LWZpbGVzaXpl\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">PHP\u6587\u6863<\/a>\uff0c\u4e09\u4e2aPHP\u6307\u4ee4\u8d1f\u8d23WordPress\u5904\u7406\u4e0a\u4f20\u7684\u65b9\u5f0f\uff0c\u5206\u522b\u662f\uff1a<\/p>\n<ul>\n<li><strong>upload_max_filesize<\/strong><\/li>\n<li><strong>post_max_size<\/strong><\/li>\n<li><strong>memory_limit<\/strong><\/li>\n<\/ul>\n<p>\u5728\u4e0a\u9762\u7684\u201c<strong>\u7ad9\u70b9\u5065\u5eb7\u4fe1\u606f\u201d<\/strong>\u90e8\u5206\u4e2d\u8ba8\u8bba\u4e86\u5b83\u4eec\u3002\u5982\u679c\u60a8\u4fee\u6539\u4e86\u8fd9\u4e09\u4e2a\u6307\u4ee4\u7684\u503c\u4ee5\u63a5\u7eb3\u60a8\u7684\u6587\u4ef6\u5927\u5c0f\uff0c\u5c06\u4f1a\u6709\u6240\u5e2e\u52a9\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u8ba1\u5212\u4e0a\u4f20\u7684\u6700\u5927\u6587\u4ef6\u662f<strong>32 MB<\/strong>\uff0c\u6211\u4eec\u5efa\u8bae\u60a8\u8fdb\u884c\u4ee5\u4e0b\u8bbe\u7f6e\uff1a<\/p>\n<ul>\n<li><strong>upload_max_filesize = 32M<\/strong><\/li>\n<li><strong>post_max_size = 64M<\/strong><\/li>\n<li><strong>memory_limit = 128M<\/strong><\/li>\n<\/ul>\n<p>\u6ce8\u610f\uff0c\u6240\u6709\u503c\u90fd\u4f7f\u7528<strong>M<\/strong>\u800c\u4e0d\u662f<strong>MB<\/strong>\u3002\u8fd9\u5c31\u662fPHP\u5904\u7406\u5176\u6307\u4ee4\u7684\u65b9\u5f0f\u3002<\/p>\n<p>\u4e0a\u4f20\u6587\u4ef6\u9664\u4e86\u6587\u4ef6\u672c\u8eab\u4e4b\u5916\uff0c\u8fd8\u53ef\u4ee5\u5305\u542b\u5176\u4ed6\u4fe1\u606f\u3002\u56e0\u6b64\uff0c\u4e3a\u6240\u6709\u5176\u4ed6\u4e0e\u4e0a\u4f20\u76f8\u5173\u7684\u6307\u4ee4\u63d0\u4f9b\u4e00\u4e9b\u9884\u7559\u7684\u7a7a\u95f4\u662f\u4e2a\u597d\u4e3b\u610f\u3002\u60a8\u53ef\u4ee5\u9605\u8bfb\u201c<a href=\"https:\/\/www.wbolt.com\/how-to-resolve-the-wordpress-memory-limit-error.html\">\u5982\u4f55\u89e3\u51b3WordPress\u5185\u5b58\u9650\u5236\u9519\u8bef\uff082\u79cd\u65b9\u6cd5\uff09<\/a>\u201d\u6559\u7a0b\uff0c<a href=\"https:\/\/www.wbolt.com\/go?_=793cea54b8aHR0cHM6Ly9raW5zdGEuY29tL2tub3dsZWRnZWJhc2UvcGhwLW1lbW9yeS1saW1pdC8%3D\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">\u4ee5<\/a>\u83b7\u53d6\u66f4\u591a\u4fe1\u606f\u3002<\/p>\n<p>\u901a\u8fc7FTP\/SFTP\u6216\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u7684\u6587\u4ef6\u7ba1\u7406\u5668\u8bbf\u95ee<strong>.htaccess<\/strong>\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157\" title=\"htaccess-file\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/htaccess-file.png?resize=604%2C319\" alt=\"htaccess-file\" width=\"604\" height=\"319\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/htaccess-file.png?w=1092&amp;ssl=1 1092w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/htaccess-file.png?resize=300%2C158&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/htaccess-file.png?resize=1024%2C540&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/htaccess-file.png?resize=768%2C405&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/htaccess-file.png?resize=670%2C353&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>\u67e5\u627e\u201c .htaccess\u201d\u6587\u4ef6<\/p>\n<p>\u4f7f\u7528\u6587\u672c\u7f16\u8f91\u5668\u6216\u4ee3\u7801\u7f16\u8f91\u5668\u6253\u5f00\u00a0<strong>.htaccess<\/strong>\u6587\u4ef6\uff0c\u7136\u540e\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">php_value upload_max_filesize 32M <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">php_value post_max_size 64M <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">php_value memory_limit 128M <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">php_value max_execution_time 300 <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">php_value max_input_time 300<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u60a8\u53ef\u4ee5\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\u6ce8\u610f\u5230\u53e6\u5916\u4e24\u4e2aPHP\u6307\u4ee4\uff1a<strong>max_execution_time<\/strong>\u548c<strong>max_input_time<\/strong>\u3002\u5b83\u4eec\u5b9a\u4e49\u670d\u52a1\u5668\u5728\u4e00\u4e2aPHP\u4efb\u52a1\u4e0a\u82b1\u8d39\u7684\u65f6\u95f4\u3002\u60a8\u4e0a\u4f20\u7684\u5185\u5bb9\u8d8a\u5927\uff0c\u82b1\u8d39\u7684\u65f6\u95f4\u5c31\u8d8a\u5927\u3002\u60a8\u9700\u8981\u5c06\u5b83\u4eec\u7684\u503c\u8bbe\u7f6e\u4e3a\u9002\u5408\u60a8\u7684\u7528\u4f8b\u7684\u6570\u5b57\u3002<\/p>\n<blockquote><p><strong>\u6ce8\uff1a<\/strong>\u4f7f\u7528\u4e0a\u8ff0\u65b9\u6cd5\u540e\uff0c\u60a8\u53ef\u80fd\u4f1a\u6536\u5230<a href=\"https:\/\/www.wbolt.com\/http-status-codes.html\">500 Internal Server Error<\/a>\u3002\u8fd9\u5f88\u53ef\u80fd\u662f\u56e0\u4e3a\u60a8\u7684\u670d\u52a1\u5668\u6b63\u5728<a href=\"https:\/\/www.wbolt.com\/go?_=f5ebcbb91baHR0cHM6Ly93d3cucGhwLm5ldC9tYW51YWwvZW4vaW5zdGFsbC51bml4LmNvbW1hbmRsaW5lLnBocA%3D%3D\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">CGI\u6a21\u5f0f\u4e0b\u8fd0\u884cPHP<\/a>\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u4e0d\u80fd\u5728<strong>.htaccess<\/strong>\u6587\u4ef6\u4e2d\u4f7f\u7528\u4ee5\u4e0a\u547d\u4ee4\u3002<\/p><\/blockquote>\n<h4 id=\"create-or-modify-the-phpini-file\">\u521b\u5efa\u6216\u4fee\u6539 \u201cphp.ini\u201d \u6587\u4ef6<\/h4>\n<p>\u5728<strong>php.ini<\/strong>\u6587\u4ef6\u4e2d\uff0c\u60a8\u53ef\u4ee5\u5b9a\u4e49\u5bf9\u9ed8\u8ba4PHP\u8bbe\u7f6e\u7684\u66f4\u6539\u3002\u901a\u5e38\uff0c\u5b83\u5305\u542b\u5b9a\u4e49\u6587\u4ef6\u8d85\u65f6\uff0c\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u548c\u8d44\u6e90\u9650\u5236\u7684\u6307\u4ee4\u3002<\/p>\n<p>\u4f7f\u7528SSH\u6216FTP\uff0c\u60a8\u53ef\u4ee5\u5728WordPress\u6839\u76ee\u5f55\u4e2d\u627e\u5230<strong>php.ini<\/strong>\u6587\u4ef6\u3002\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u80fd\u65e0\u6cd5\u5728\u6b64\u5904\u627e\u5230\u5b83\u3002\u4e0d\u7528\u62c5\u5fc3\uff01\u60a8\u53ef\u4ee5\u5728\u7ad9\u70b9\u7684\u6839\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u5177\u6709\u76f8\u540c\u540d\u79f0\u7684\u65b0\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-158\" title=\"upload-max-filesize-3\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/upload-max-filesize-3.png?resize=604%2C329\" alt=\"upload-max-filesize-3\" width=\"604\" height=\"329\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/upload-max-filesize-3.png?w=1654&amp;ssl=1 1654w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/upload-max-filesize-3.png?resize=300%2C163&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/upload-max-filesize-3.png?resize=1024%2C558&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/upload-max-filesize-3.png?resize=768%2C418&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/upload-max-filesize-3.png?resize=1536%2C837&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/upload-max-filesize-3.png?resize=670%2C365&amp;ssl=1 670w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/upload-max-filesize-3.png?w=1208&amp;ssl=1 1208w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684php.ini\u6587\u4ef6<\/p>\n<p>\u4f7f\u7528\u4ee3\u7801\u6216\u6587\u672c\u7f16\u8f91\u5668\uff0c\u5c06\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u5230\u73b0\u6709\u6216\u65b0\u7684<strong>php.ini<\/strong>\u6587\u4ef6\u4e2d\uff1a<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">upload_max_filesize = 32M <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">post_max_size = 64M <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">memory_limit = 128M<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u8fdb\u884c\u66f4\u6539\u540e\uff0c\u8bf7\u4e0d\u8981\u5fd8\u8bb0\u4fdd\u5b58\u6587\u4ef6\u3002\u67d0\u4e9b\u4e3b\u673a\u4e0d\u5141\u8bb8\u60a8\u901a\u8fc7\u6b64\u65b9\u6cd5\u4fee\u6539PHP\u8bbe\u7f6e\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u4ee5\u7ee7\u7eed\u5c1d\u8bd5\u4ee5\u4e0b\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<h4 id=\"create-or-modify-the-userini-file\">\u521b\u5efa\u6216\u4fee\u6539 \u201c.user.ini\u201d \u6587\u4ef6<\/h4>\n<p>\u5982\u679c\u670d\u52a1\u5668\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\u5df2\u9501\u5b9a\u4e86\u5168\u5c40PHP\u8bbe\u7f6e\uff0c\u5219\u4ed6\u4eec\u53ef\u80fd\u5df2\u5c06\u670d\u52a1\u5668\u914d\u7f6e\u4e3a\u4f7f\u7528<strong>.user.ini<\/strong>\u6587\u4ef6\u800c\u4e0d\u662f<strong>php.ini<\/strong>\u6587\u4ef6\u3002<\/p>\n<p>\u4e0e<strong>php.ini<\/strong>\u548c<strong>.htaccess<\/strong>\u6587\u4ef6\u4e00\u6837\uff0c\u60a8\u53ef\u4ee5\u5728\u7f51\u7ad9\u7684\u6839\u76ee\u5f55\u4e2d\u627e\u5230<strong>.user.ini<\/strong>\u3002\u5982\u679c\u627e\u4e0d\u5230\uff0c\u5219\u53ef\u4ee5\u5728\u540c\u4e00\u4f4d\u7f6e\u521b\u5efa\u4e00\u4e2a\u65b0\u7684<strong>.user.ini<\/strong>\u6587\u4ef6\u3002\u6309\u7167\u524d\u9762\u65b9\u6cd5\u4e2d\u63cf\u8ff0\u7684\u76f8\u540c\u8fc7\u7a0b\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u00a0<strong>php.ini<\/strong>\u6587\u4ef6\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u5c06\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u5230\u60a8\u7684<strong>.user.ini<\/strong>\u6587\u4ef6\u4e2d\uff1a<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">upload_max_filesize = 32M <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">post_max_size = 64M <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">memory_limit = 128M<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u6709\u6ca1\u6709\u53d1\u73b0\uff0c\u8fd9\u53ea\u662f\u91cd\u590d\u4e86\u524d\u9762\u7684\u65b9\u6cd5\uff0c\u53ea\u662f\u6587\u4ef6\u540d\u4e0d\u540c\u3002<\/p>\n<h4 id=\"change-php-options-via-cpanel\">\u901a\u8fc7cPanel\u66f4\u6539PHP\u9009\u9879<\/h4>\n<p>\u5982\u679c\u670d\u52a1\u5668\u6258\u7ba1\u63d0\u4f9b\u5546\u4f7f\u7528cPanel\u63a7\u5236\u9762\u677f\u6765\u5e2e\u52a9\u60a8\u7ba1\u7406\u670d\u52a1\u5668\u548c\u7ad9\u70b9\u914d\u7f6e\uff0c\u5219\u53ef\u4ee5\u901a\u8fc7\u5176\u754c\u9762\u66f4\u6539\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u7684\u5927\u5c0f\u3002<\/p>\n<p>\u9996\u5148\uff0c\u8bf7\u8f6c\u5230cPanel\u4eea\u8868\u76d8\uff0c\u7136\u540e\u5728\u201c<strong>Software<\/strong><strong>\u201d<\/strong>\u90e8\u5206\u4e0b\u9009\u62e9\u201c<strong>Select PHP Version<\/strong>\u201d\u00a0\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-159\" title=\"cPanel-Select-PHP-Version\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-Select-PHP-Version.png?resize=604%2C189\" alt=\"cPanel-Select-PHP-Version\" width=\"604\" height=\"189\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-Select-PHP-Version.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-Select-PHP-Version.png?resize=300%2C94&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-Select-PHP-Version.png?resize=1024%2C321&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-Select-PHP-Version.png?resize=768%2C241&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-Select-PHP-Version.png?resize=670%2C210&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>cPanel\u4eea\u8868\u76d8-\u201c\u9009\u62e9PHP\u7248\u672c\u201d<\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u60a8\u53ef\u4ee5\u66f4\u6539\u670d\u52a1\u5668\u5f53\u524dPHP\u7248\u672c\u5e76\u542f\u7528\/\u7981\u7528\u8bb8\u591aPHP\u6269\u5c55\u3002\u5355\u51fb\u5bfc\u822a\u83dc\u5355\u4e2d\u7684\u201c<strong>Options<\/strong><strong>\u201d<\/strong>\u94fe\u63a5\u4ee5\u8f6c\u5230\u201c<strong>PHP Options<\/strong><strong>\u201d<\/strong>\u9762\u677f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-160\" title=\"cPanel-PHP-Selector-Screen\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Selector-Screen.png?resize=604%2C303\" alt=\"cPanel-PHP-Selector-Screen\" width=\"604\" height=\"303\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Selector-Screen.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Selector-Screen.png?resize=300%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Selector-Screen.png?resize=1024%2C513&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Selector-Screen.png?resize=768%2C385&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Selector-Screen.png?resize=670%2C336&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>\u8f6c\u5230cPanel\u4e2d\u7684\u201c <strong>PHP Options<\/strong>\u201d\u8bbe\u7f6e<\/p>\n<p>\u5411\u4e0b\u6eda\u52a8\u8fd9\u91cc\u4fee\u6539PHP\u6307\u4ee4\uff0c\u5982\u503c<strong>upload_max_filesize<\/strong>\uff0c<strong>post_max_size<\/strong>\uff0c<strong>memory_limit<\/strong>\uff0c<strong>max_execution_time<\/strong>\uff0c\u548c<strong>max_input_time<\/strong>\uff0c\u60a8\u53ef\u4ee5\u5728\u6b64\u5904\u53ef\u8bbe\u7f6e\u7684\u6700\u5927\u503c\u53d6\u51b3\u4e8e\u60a8\u5f53\u524d\u7684\u670d\u52a1\u5668\u914d\u7f6e\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-161\" title=\"cPanel-PHP-Options-Max-Upload-Size-Setting\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Options-Max-Upload-Size-Setting.png?resize=604%2C360\" alt=\"cPanel-PHP-Options-Max-Upload-Size-Setting\" width=\"604\" height=\"360\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Options-Max-Upload-Size-Setting.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Options-Max-Upload-Size-Setting.png?resize=300%2C179&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Options-Max-Upload-Size-Setting.png?resize=1024%2C610&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Options-Max-Upload-Size-Setting.png?resize=768%2C457&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/cPanel-PHP-Options-Max-Upload-Size-Setting.png?resize=670%2C399&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>cPanel\u4e2d\u7684\u201c PHP\u9009\u9879\u201d<\/p>\n<p>\u5982\u679c\u60a8\u5bf9\u8fd9\u4e9b\u503c\u6709\u4efb\u4f55\u7591\u95ee\uff0c\u5efa\u8bae\u60a8\u4e0e\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\u8054\u7cfb\u3002\u6700\u65b0\u7684cPanel\u4eea\u8868\u76d8\u4f1a\u81ea\u52a8\u4fdd\u5b58\u66f4\u6539\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u4f7f\u7528\u7684\u662f\u8f83\u65e9\u7684cPanel\u7248\u672c\uff0c\u8bf7\u786e\u4fdd\u70b9\u51fb<strong>\u4fdd\u5b58<\/strong>\u6309\u94ae\u4ee5\u4fdd\u5b58\u66f4\u6539\u3002<\/p>\n<h4 id=\"increase-the-max-upload-file-size-in-nginx\">\u5728Nginx\u4e2d\u589e\u52a0\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/h4>\n<p>Nginx\u662f\u53e6\u4e00\u4e2a\u7c7b\u4f3c\u4e8eApache\u7684\u7f51\u7edc\u670d\u52a1\u5668\uff0c\u4f46\u5b83\u8fd8\u6709\u5f88\u591a\u5176\u4ed6\u529f\u80fd\u3002\u901a\u5e38\uff0cNginx\u53ef\u4ee5\u6bd4Apache\u5904\u7406\u66f4\u591a\u7684\u5e76\u53d1\u8bf7\u6c42\uff0c\u4ece\u800c\u4f7f\u5176\u66f4\u5feb\u3002\u95ea\u7535\u535a\u4e5f\u662f\u4f7f\u7528Nginx\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<p>\u5982\u679c\u60a8\u5728Nginx\u4e0a\u8fd0\u884cWordPress\u7f51\u7ad9\uff0c\u5219\u9700\u8981\u540c\u65f6\u4fee\u6539<strong>php.ini<\/strong>\u548c<strong>nginx.conf<\/strong>\u6587\u4ef6\u3002\u6211\u4eec\u4e4b\u524d\u5df2\u7ecf\u5904\u7406\u8fc7\u524d\u4e00\u4e2a\u6587\u4ef6\u3002\u540e\u8005\u79f0\u4e3aNginx\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<p>\u5728Nginx\u670d\u52a1\u5668\u4e0a\uff0c\u60a8\u53ef\u4ee5\u5728\u627e\u5230<strong>php.ini<\/strong>\u6587\u4ef6<strong>\/etc\/php\/7.4\/fpm\/php.ini<\/strong>\u3002\u6839\u636e\u60a8\u5b89\u88c5\u7684PHP\u7248\u672c\uff0c\u8def\u5f84\u53ef\u80fd\u4f1a\u7565\u6709\u4e0d\u540c\u3002<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">upload_max_filesize = 64M <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">post_max_size = 128M<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u60a8\u65e0\u9700\u5728\u4e0a\u9762\u7684\u6587\u4ef6\u8bbe\u7f6e<strong>memory_limit<\/strong>\uff0c\u56e0\u4e3aNginx\u5bf9\u5b83\u7684\u5904\u7406\u65b9\u5f0f\u6709\u6240\u4e0d\u540c\u3002\u6709\u5173\u66f4\u591a\u4fe1\u606f\uff0c\u60a8\u53ef\u4ee5<a href=\"https:\/\/www.wbolt.com\/go?_=3bb658dff9aHR0cHM6Ly9zdGFja292ZXJmbG93LmNvbS9xdWVzdGlvbnMvMTU5NjI2MzQvbmdpbngtb3ItcGhwLWZwbS1pZ25vcmVzLW1lbW9yeS1saW1pdC1pbi1waHAtaW5p\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">\u67e5\u770bStack Overflow\u8fd9\u7bc7\u6587\u7ae0<\/a>\u3002\u4fdd\u5b58<strong>php.ini<\/strong>\u6587\u4ef6\u540e\uff0c\u53bb\u7ec8\u7aef\u91cd\u65b0\u542f\u52a8PHP-FPM\uff0c\u4ee5\u542f\u7528\u66f4\u6539\uff1a<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">sudo service php7.4-fpm restart<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u540c\u6837\uff0c\u91cd\u542fPHP\u7684\u6307\u4ee4\u4ee3\u7801\u53ef\u80fd\u4f1a\u7565\u6709\u4e0d\u540c\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u7684PHP\u7248\u672c\u3002<\/p>\n<p>\u63a5\u4e0b\u6765\uff0c\u4f7f\u7528Nginx\u7684<strong>client_max_body_size<\/strong>\u6307\u4ee4\u8bbe\u7f6e\u65b0\u7684\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u9650\u5236\u3002\u60a8\u9700\u8981\u5728<strong>nginx.conf<\/strong>\u6587\u4ef6\u4e2d\u58f0\u660e\u6b64\u6307\u4ee4\uff0c\u60a8\u53ef\u4ee5\u5728<strong>\/etc\/nginx\/nginx.conf<\/strong>\u627e\u5230\u8be5\u6587\u4ef6\u3002<\/p>\n<p>\u60a8\u53ef\u4ee5\u5728<code>http {...}<\/code>\u5757\uff0c<code>server {...}<\/code>\u5757\u6216<code>location {...}<\/code>\u5757\u4e2d\u58f0\u660e\u6b64\u6307\u4ee4\u3002<\/p>\n<p>\u5728<strong>http<\/strong>\u5757\u4e2d\u8fdb\u884c\u8bbe\u7f6e\u4f1a\u5f71\u54cd\u6b64\u670d\u52a1\u5668\u4e0a\u6258\u7ba1\u7684\u6240\u6709\u7f51\u7ad9\/\u5e94\u7528\u3002<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">http <\/span><span class=\"enlighter-g1\">{<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">&#8230; <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">client_max_body_size 128M; <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-g1\">}<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u5728<strong>server<\/strong>\u5757\u4e2d\u5b9a\u4e49\u5b83\u53ea\u4f1a\u5f71\u54cd\u6b64\u670d\u52a1\u5668\u6258\u7ba1\u7684\u7279\u5b9a\u7ad9\u70b9\/\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">server <\/span><span class=\"enlighter-g1\">{<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">&#8230; <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">client_max_body_size 128M; <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-g1\">}<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u5728<strong>location<\/strong>\u5757\u5b9a\u4e49\u5219\u4ec5\u5f71\u54cd\u6307\u5b9a\u7684\u76ee\u5f55\uff08\u5982<strong>\u6587\u4ef6<\/strong>\uff0c<strong>\u4e0a\u4f20<\/strong>\u76ee\u5f55\uff09\u3002<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">location \/files <\/span><span class=\"enlighter-g1\">{<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">&#8230; <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">client_max_body_size 128M; <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-g1\">}<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u4e0d\u8981\u5fd8\u8bb0\u4fdd\u5b58\u6587\u4ef6\u5e76\u91cd\u65b0\u542f\u52a8Nginx\u4ee5\u5e94\u7528\u66f4\u6539\uff0c\u60a8\u53ef\u4ee5\u5728\u7ec8\u7aef\u4e2d\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u91cd\u542fNG\uff1a<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">sudo service nginx reload<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u90e8\u5206\u670d\u52a1\u5668\u63d0\u4f9b\u5546\u4e0d\u5141\u8bb8\u5ba2\u6237\u76f4\u63a5\u8bbf\u95eeNginx\u914d\u7f6e\u3002\u4f46\u662f\uff0c\u53ef\u4ee5\u4e0e\u652f\u6301\u56e2\u961f\u8054\u7cfb\u66f4\u6539\u3002<\/p>\n<h4 id=\"use-the-wordpress-upload_size_limit-filter\">\u4f7f\u7528WordPress\u7684 \u201cupload_size_limit\u201d \u8fc7\u6ee4\u5668<\/h4>\n<p>WordPress 2.5\u5f15\u5165\u4e86<a href=\"https:\/\/www.wbolt.com\/go?_=0c59f66126aHR0cHM6Ly9kZXZlbG9wZXIud29yZHByZXNzLm9yZy9yZWZlcmVuY2UvaG9va3MvdXBsb2FkX3NpemVfbGltaXQv\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">upload_size_limit<\/a>\u8fc7\u6ee4\u5668\uff0c\u8be5\u8fc7\u6ee4\u5668\u8fc7\u6ee4<strong>php.ini\u4e2d<\/strong>\u5141\u8bb8\u7684\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\u3002\u751a\u81f3WordPress\u90fd\u4f7f\u7528\u6b64\u8fc7\u6ee4\u5668\u6765\u663e\u793a\u5141\u8bb8\u7684\u6700\u5927\u4e0a\u4f20\u5927\u5c0f\uff0c\u4f8b\u5982\u5728\u201c\u5a92\u4f53\u5e93\u201d\u548c\u201c\u7ad9\u70b9\u5065\u5eb7\u4fe1\u606f\u201d\u754c\u9762\u4e2d\u3002<\/p>\n<p>\u4ee5\u4e0b\u662fWordPress\u8d21\u732e\u8005<a href=\"https:\/\/www.wbolt.com\/go?_=0ef815b0ccaHR0cHM6Ly9kZXZlbG9wZXIud29yZHByZXNzLm9yZy9yZWZlcmVuY2UvaG9va3MvdXBsb2FkX3NpemVfbGltaXQvI3VzZXItY29udHJpYnV0ZWQtbm90ZXM%3D\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Drew Jaynes<\/a>\u5b9e\u9645\u4f7f\u7528\u7684\u6b64\u8fc7\u6ee4\u5668\u7684\u793a\u4f8b\u3002\u5b83\u5b9a\u4e49\u4e86\u6240\u6709\u975e\u7ba1\u7406\u5458\u89d2\u8272\u7684\u4e0a\u4f20\u5927\u5c0f\u9650\u5236\u3002<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-c1\">\/**<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-c1\">* Filter the upload size limit for non-administrators.<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-c1\">*<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-c1\">* @param string $size Upload size limit (in bytes).<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-c1\">* @return int (maybe) Filtered size limit.<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-c1\">*\/<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-k0\">function<\/span> <span class=\"enlighter-m0\">filter_site_upload_size_limit<\/span><span class=\"enlighter-g1\">(<\/span> <span class=\"enlighter-k7\">$size<\/span> <span class=\"enlighter-g1\">)<\/span> <span class=\"enlighter-g1\">{<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-c0\">\/\/ Set the upload size limit to 10 MB for users lacking the &#8216;manage_options&#8217; capability.<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-k1\">if<\/span> <span class=\"enlighter-g1\">(<\/span><span class=\"enlighter-text\"> ! <\/span><span class=\"enlighter-m0\">current_user_can<\/span><span class=\"enlighter-g1\">(<\/span> <span class=\"enlighter-s0\">&#8216;manage_options&#8217;<\/span> <span class=\"enlighter-g1\">)<\/span> <span class=\"enlighter-g1\">)<\/span> <span class=\"enlighter-g1\">{<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-c0\">\/\/ 10 MB.<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-k7\">$size<\/span><span class=\"enlighter-text\"> = 1024 * 10000;<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-g1\">}<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-k0\">return<\/span> <span class=\"enlighter-k7\">$size<\/span><span class=\"enlighter-text\">;<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-g1\">}<\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-m0\">add_filter<\/span><span class=\"enlighter-g1\">(<\/span> <span class=\"enlighter-s0\">&#8216;upload_size_limit&#8217;<\/span><span class=\"enlighter-text\">, <\/span><span class=\"enlighter-s0\">&#8216;filter_site_upload_size_limit&#8217;<\/span><span class=\"enlighter-text\">, 20 <\/span><span class=\"enlighter-g1\">)<\/span><span class=\"enlighter-text\">;<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u4e0a\u9762\u7684\u4ee3\u7801\u4f7f\u7528WordPress\u7684 <strong>manage_options\u00a0<\/strong>\u529f\u80fd\u4ec5\u9488\u5bf9\u975e\u7ba1\u7406\u5458\u8bbe\u7f6e\u6b64\u9650\u5236\u3002\u60a8\u53ef\u4ee5\u4fee\u6539\u4ee3\u7801\u4ee5\u5b9a\u4f4d\u7279\u5b9a\u7684\u7528\u6237\u89d2\u8272\u6216\u7528\u6237ID\u3002<\/p>\n<h4 id=\"use-a-wordpress-plugin\">\u4f7f\u7528WordPress\u63d2\u4ef6<\/h4>\n<p>\u5e76\u975e\u6240\u6709\u4eba\u90fd\u559c\u6b22\u4f7f\u7528SSH\u6216FTP\/SFTP\u6765\u5904\u7406\u4ee3\u7801\u3002\u5982\u679c\u60a8\u4e0d\u4e60\u60ef\u7f16\u5199\u6216\u7f16\u8f91\u4ee3\u7801\uff0c\u5219\u53ef\u4ee5\u6539\u7528WordPress\u63d2\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-162\" title=\"WP-Maximum-Upload-File-Size-Plugin\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin.png?resize=604%2C295\" alt=\"WP-Maximum-Upload-File-Size-Plugin\" width=\"604\" height=\"295\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin.png?resize=300%2C146&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin.png?resize=1024%2C500&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin.png?resize=768%2C375&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin.png?resize=670%2C327&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">WP Maximum Upload File Size\u63d2\u4ef6<\/p>\n<p>\u6211\u4eec\u5c06\u5728\u6b64\u5904\u4f7f\u7528<a href=\"https:\/\/www.wbolt.com\/go?_=1fd1793675aHR0cHM6Ly93b3JkcHJlc3Mub3JnL3BsdWdpbnMvd3AtbWF4aW11bS11cGxvYWQtZmlsZS1zaXplLw%3D%3D\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">WP Maximum Upload File Size\u63d2\u4ef6<\/a>\u3002\u64b0\u5199\u672c\u6587\u65f6\uff0c\u5b83\u662fWordPress\u63d2\u4ef6\u5e02\u573a\u4e2d\u552f\u4e00\u53ef\u5e2e\u52a9\u60a8\u5b8c\u6210\u6b64\u64cd\u4f5c\u7684\u6700\u65b0\u63d2\u4ef6\u3002<\/p>\n<p>\u9996\u5148\uff0c\u8bf7\u5b89\u88c5\u5e76\u542f\u7528WP Maximum Upload File Size\u63d2\u4ef6\u3002\u70b9\u51fbWordPress\u7ba1\u7406\u540e\u53f0\u5de6\u4fa7\u83dc\u5355\u7684\u201cWp upload limit\u201d\uff0c\u5728\u8fd9\u91cc\uff0c\u60a8\u53ef\u4ee5\u770b\u5230\u6258\u7ba1\u63d0\u4f9b\u5546\u548cWordPress\u8bbe\u7f6e\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-163\" title=\"WP-Maximum-Upload-File-Size-Plugin-Dashboard\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?resize=604%2C269\" alt=\"WP-Maximum-Upload-File-Size-Plugin-Dashboard\" width=\"604\" height=\"269\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?resize=300%2C133&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?resize=1024%2C455&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?resize=768%2C341&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?resize=670%2C298&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">WP\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u8bbe\u7f6e<\/p>\n<p>\u5728\u8fd9\u91cc\uff0c\u60a8\u53ef\u4ee5\u770b\u5230WordPress\u8bbe\u7f6e\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u5c0f\u4e8e\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\u8bbe\u7f6e\u7684\u6700\u5927\u6587\u4ef6\u5927\u5c0f\u3002\u56e0\u6b64\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u9009\u62e9<strong>\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/strong>\u5e76\u663e\u793a\u4e0b\u62c9\u83dc\u5355\u6765\u8bbe\u7f6e\u66f4\u5927\u7684\u4e0a\u4f20\u9650\u5236\u3002<\/p>\n<p><strong>\u6ce8\uff1a<\/strong>\u5982\u679c\u60a8\u8981\u8bbe\u7f6e\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u4e0a\u9650\u5927\u4e8e\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\u8bbe\u7f6e\u7684\u4e0a\u9650\uff0c\u5219\u65e0\u6cd5\u901a\u8fc7\u6b64\u63d2\u4ef6\u8fdb\u884c\u64cd\u4f5c\u3002\u4e3a\u6b64\uff0c\u60a8\u9700\u8981\u8054\u7cfb\u60a8\u7684\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\u3002<\/p>\n<h4 id=\"upload-files-via-ftpsftp\">\u901a\u8fc7FTP\/SFTP\u4e0a\u4f20\u6587\u4ef6<\/h4>\n<p>\u4e0d\u60f3\u4f7f\u7528\u4e0a\u8ff0\u6240\u6709\u65b9\u6cd5\uff1f\u60a8\u8fd8\u53ef\u4ee5\u901a\u8fc7FTP\/SFTP\u4e0a\u4f20\u5927\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-164\" title=\"kinsta-export-wordpress-site-sftp\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/kinsta-export-wordpress-site-sftp.png?resize=604%2C244\" alt=\"kinsta-export-wordpress-site-sftp\" width=\"604\" height=\"244\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/kinsta-export-wordpress-site-sftp.png?w=1050&amp;ssl=1 1050w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/kinsta-export-wordpress-site-sftp.png?resize=300%2C121&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/kinsta-export-wordpress-site-sftp.png?resize=1024%2C414&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/kinsta-export-wordpress-site-sftp.png?resize=768%2C311&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/kinsta-export-wordpress-site-sftp.png?resize=670%2C271&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">\u4f7f\u7528SFTP\u4e0a\u4f20\u6587\u4ef6\u5230\u670d\u52a1\u5668<\/p>\n<p>\u5982\u679c\u8981\u4e0a\u4f20\u5927\u91cf\u6587\u4ef6\uff0c\u8fd9\u662f\u6700\u5feb\u7684\u65b9\u6cd5\u3002<\/p>\n<p>\u6709\u65f6\uff0cWordPress\u65e0\u6cd5\u8bc6\u522b\u901a\u8fc7FTP\/SFTP\u4e0a\u4f20\u7684\u6587\u4ef6\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u514d\u8d39\u63d2\u4ef6-\u00a0<a href=\"https:\/\/www.wbolt.com\/go?_=196a359448aHR0cHM6Ly93b3JkcHJlc3Mub3JnL3BsdWdpbnMvYWRkLWZyb20tc2VydmVyLw%3D%3D\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Add From Server<\/a>\u5c06\u4e0a\u4f20\u7684\u6587\u4ef6\u5bfc\u5165WordPress\u3002<\/p>\n<p>\u6216\u8005\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7<a href=\"https:\/\/www.wbolt.com\/go?_=114761ec24aHR0cHM6Ly9kZXZlbG9wZXIud29yZHByZXNzLm9yZy9jbGkvY29tbWFuZHMvbWVkaWEvaW1wb3J0Lw%3D%3D\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">\u4f7f\u7528WP-CLI\u5bfc\u5165\u56fe\u50cf<\/a>\uff0c\u4ece\u547d\u4ee4\u884c\u76f4\u63a5\u6267\u884c\u76f8\u540c\u64cd\u4f5c\u3002<strong>wp media import<\/strong>\u547d\u4ee4\u5141\u8bb8\u60a8\u4ece\u672c\u5730\u6587\u4ef6\u6216URL\u521b\u5efa\u9644\u4ef6\u3002<\/p>\n<h3 id=\"dont-edit-the-wpconfigphp-file\">\u4e0d\u8981\u7f16\u8f91 \u201cwp-config.php\u201d \u6587\u4ef6<\/h3>\n<p>\u7f16\u8f91wp-config.php\u6587\u4ef6\u4e0d\u518d\u8d77\u4f5c\u7528\u3002\u4e4b\u6240\u4ee5\u5728\u8fd9\u91cc\u63d0\u53ca\u5b83\u662f\u56e0\u4e3a\u6211\u4eec\u53d1\u73b0\u8bb8\u591a\u7f51\u4e0a\u6559\u7a0b\u90fd\u5c06\u5176\u5217\u4e3a\u4fee\u6539WordPress\u6700\u5927\u4e0a\u4f20\u9650\u5236\u7684\u5408\u6cd5\u65b9\u6cd5\u3002<\/p>\n<p>\u8be5\u65b9\u6cd5\u662f\u901a\u8fc7FTP\/SFTP\u6216SSH\u8fdb\u5165\u7ad9\u70b9\u7684\u6839\u76ee\u5f55\uff0c\u7136\u540e\u7f16\u8f91<strong>wp-config.php<\/strong>\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-165\" title=\"wp-config-file\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/wp-config-file.png?resize=604%2C300\" alt=\"wp-config-file\" width=\"604\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/wp-config-file.png?w=1103&amp;ssl=1 1103w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/wp-config-file.png?resize=300%2C149&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/wp-config-file.png?resize=1024%2C509&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/wp-config-file.png?resize=768%2C382&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/wp-config-file.png?resize=670%2C333&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">\u67e5\u627ewp-config.php\u6587\u4ef6<\/p>\n<p>\u5efa\u8bae\u60a8\u5c06\u4ee5\u4e0b\u4ee3\u7801\u6dfb\u52a0\u5230<strong>wp-config.php<\/strong>\u6587\u4ef6\u4e2d\uff1a<\/p>\n<div class=\"enlighter-default enlighter-v-standard enlighter-t-droide enlighter-hover enlighter-linenumbers enlighter-overflow-scroll \">\n<div class=\"enlighter\">\n<div class=\"\">\n<div><span class=\"enlighter-text\">@<\/span><span class=\"enlighter-m0\">ini_set<\/span><span class=\"enlighter-g1\">(<\/span> <span class=\"enlighter-s0\">&#8216;upload_max_size&#8217;<\/span><span class=\"enlighter-text\"> , <\/span><span class=\"enlighter-s0\">&#8217;64M&#8217;<\/span> <span class=\"enlighter-g1\">)<\/span><span class=\"enlighter-text\">; <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">@<\/span><span class=\"enlighter-m0\">ini_set<\/span><span class=\"enlighter-g1\">(<\/span> <span class=\"enlighter-s0\">&#8216;post_max_size&#8217;<\/span><span class=\"enlighter-text\">, <\/span><span class=\"enlighter-s0\">&#8216;128M&#8217;<\/span><span class=\"enlighter-g1\">)<\/span><span class=\"enlighter-text\">; <\/span><\/div>\n<\/div>\n<div class=\"\">\n<div><span class=\"enlighter-text\">@<\/span><span class=\"enlighter-m0\">ini_set<\/span><span class=\"enlighter-g1\">(<\/span> <span class=\"enlighter-s0\">&#8216;memory_limit&#8217;<\/span><span class=\"enlighter-text\">, <\/span><span class=\"enlighter-s0\">&#8216;256M&#8217;<\/span> <span class=\"enlighter-g1\">)<\/span><span class=\"enlighter-text\">;<\/span><\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>\u5b83\u65e0\u6cd5\u5de5\u4f5c\uff0c\u56e0\u4e3a\u60a8\u53ea\u80fd\u4f7f\u7528\u00a0<a href=\"https:\/\/www.wbolt.com\/go?_=5dd2d389b1aHR0cHM6Ly93d3cucGhwLm5ldC9tYW51YWwvZW4vY29uZmlndXJhdGlvbi5jaGFuZ2VzLm1vZGVzLnBocA%3D%3D\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">ini_set() function<\/a>\u6765\u8bbe\u7f6e\u5c5e\u4e8e<a href=\"https:\/\/www.wbolt.com\/go?_=251d7062dbaHR0cHM6Ly93d3cucGhwLm5ldC9tYW51YWwvZW4vaW5pLmxpc3QucGhw\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">PHP_INI_ALL<\/a>\u53ef\u53d8\u6a21\u5f0f\u7684PHP\u6307\u4ee4\u3002<\/p>\n<p><strong>upload_max_size<\/strong>\u4e0e<strong>post_max_size<\/strong>\u4f5c\u4e3a\u5c5e\u4e8ePHP_INI_PERDIR\u591a\u53d8\u7684\u6a21\u5f0f\u3002\u60a8\u53ea\u80fd\u901a\u8fc7<strong>php.ini<\/strong>\uff0c<strong>.htaccess<\/strong>\uff0c<strong>http.conf<\/strong>\u6216<strong>.user.ini<\/strong>\u8fdb\u884c\u8bbe\u7f6e\u3002<\/p>\n<p>\u5982\u679c\u60a8\u4ee5\u524d\u5c1d\u8bd5\u8fc7\u6b64\u65b9\u6cd5\u800c\u6ca1\u6709\u770b\u5230\u4efb\u4f55\u7ed3\u679c\uff0c\u90a3\u4e48\u73b0\u5728\u60a8\u77e5\u9053\u5b83\u4e3a\u4ec0\u4e48\u4f1a\u5931\u8d25\u3002<\/p>\n<h3 id=\"verify-your-wordpress-sites-new-max-upload-file-size\">\u9a8c\u8bc1WordPress\u7f51\u7ad9\u7684\u65b0\u7684\u6700\u5927\u4e0a\u4f20\u9650\u5236<\/h3>\n<p>\u6700\u540e\uff0c\u6211\u4eec\u9700\u8981\u9a8c\u8bc1WordPress\u7f51\u7ad9\u4e2d\u662f\u5426\u5b9e\u73b0\u4e86\u65b0\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u3002\u4e3a\u6b64\uff0c\u8bf7\u6309\u7167\u4e0a\u9762\u8ba8\u8bba\u7684\u76f8\u540c\u6b65\u9aa4\u68c0\u67e5WordPress\u4e2d\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u3002<\/p>\n<p>\u8f6c\u5230WordPress\u4fe1\u606f\u4e2d\u5fc3\u4e2d\u7684<strong>\u5a92\u4f53\u5e93<\/strong>\uff0c\u7136\u540e\u68c0\u67e5\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u662f\u5426\u5df2\u66f4\u6539\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-166\" title=\"Verify-Maximum-Upload-File-Size\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size.png?resize=604%2C146\" alt=\"Verify-Maximum-Upload-File-Size\" width=\"604\" height=\"146\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size.png?resize=300%2C72&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size.png?resize=1024%2C247&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size.png?resize=768%2C185&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size.png?resize=670%2C161&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">\u9a8c\u8bc1\u201c\u5a92\u4f53\u5e93\u201d\u4e2d\u65b0\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/p>\n<p>\u662f\u7684\uff0c\u5b83\u5df2\u7ecf\u6539\u53d8\u4e86\u3002\u90a3\u662f\u6210\u529f\u7684\uff01<\/p>\n<p>\u60a8\u4e5f\u53ef\u4ee5\u8f6c\u5230\u201c<strong>\u7ad9\u70b9\u5065\u5eb7\u201d<\/strong>\u9762\u677f\uff0c\u7136\u540e\u5728\u201c<strong>\u5a92\u4f53\u5904\u7406\u201d<\/strong>\u548c\u201c<strong>\u670d\u52a1\u5668\u201d<\/strong>\u4e0b\u62c9\u5217\u8868\u4e2d\u68c0\u67e5\u662f\u5426\u76f8\u540c\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-167\" title=\"Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen.png?resize=604%2C226\" alt=\"Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen\" width=\"604\" height=\"226\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen.png?resize=300%2C112&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen.png?resize=1024%2C384&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen.png?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen.png?resize=670%2C251&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">\u5728\u201c\u7ad9\u70b9\u5065\u5eb7\u4fe1\u606f&gt;\u5a92\u4f53\u5e93\u201d\u4e2d\u9a8c\u8bc1\u65b0\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-168\" title=\"Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen-Server\" src=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen-Server.png?resize=604%2C345\" alt=\"Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen-Server\" width=\"604\" height=\"345\" srcset=\"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen-Server.png?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen-Server.png?resize=300%2C171&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen-Server.png?resize=1024%2C585&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen-Server.png?resize=768%2C438&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/Verify-Maximum-Upload-File-Size-Site-Health-Info-Screen-Server.png?resize=670%2C383&amp;ssl=1 670w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<p class=\"wp-caption-text\">\u5728\u201c\u7ad9\u70b9\u8fd0\u884c&gt;\u72b6\u51b5\u4fe1\u606f&gt;\u670d\u52a1\u5668\u201d\u4e2d\u9a8c\u8bc1\u65b0\u7684\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f<\/p>\n<h3 class=\"has-anchor-hash\">\u5c0f\u7ed3<\/h3>\n<p>\u5982\u60a8\u6240\u89c1\uff0c\u5728WordPress\u4e2d\u4fee\u6539\u6700\u5927\u4e0a\u4f20\u9650\u5236\u5e76\u4e0d\u662f\u592a\u590d\u6742\u3002\u65e0\u8bba\u60a8\u662f\u8981\u6784\u5efa\u5927\u91cf\u5a92\u4f53\u4f5c\u54c1\u96c6\u7f51\u7ad9\u8fd8\u662f\u8981\u5b89\u88c5\u5927\u578b\u4e3b\u9898\uff0c\u53ea\u9700\u77e5\u9053\u8981\u5728\u54ea\u91cc\u67e5\u627e\u4ee5\u53ca\u8981\u4f7f\u7528\u54ea\u4e9b\u547d\u4ee4\u6216\u5de5\u5177\u5373\u53ef\u3002<\/p>\n<p>\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u4e0e\u60a8\u7684\u6258\u7ba1\u670d\u52a1\u63d0\u4f9b\u5546\u8054\u7cfb\u5c31\u8db3\u591f\u4e86\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u9047\u5230\u9ebb\u70e6\u7684\u4e3b\u673a\uff0c\u6211\u4eec\u5c06\u5411\u60a8\u5c55\u793a\u4e00\u4e9b\u66ff\u4ee3\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u5728\u8fc1\u79fb\u5230\u66f4\u597d\u7684\u4e3b\u673a\u4e4b\u524d\u5c1d\u8bd5\u4e00\u4e0b\u3002<\/p>\n<p><em>\u4e0a\u8ff0\u6709\u6ca1\u6709\u6db5\u76d6\u4e86\u6240\u6709\u4f60\u6240\u9700\u8981\u7684\u5185\u5bb9\u5417\uff1f\u60a8\u662f\u5426\u4e5f\u66fe\u7ecf\u9047\u5230\u4e86\u4e0a\u8f7d\u6587\u4ef6\u5927\u5c0f\u9650\u5236\u7684\u60c5\u51b5\uff0c\u7136\u540e\u4f60\u662f\u5982\u4f55\u5904\u7406\u7684\uff1f\u7559\u8a00\u4e0e\u6211\u4eec\u4e00\u8d77\u6df1\u5165\u4ea4\u6d41\u3002<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8f83\u4f4e\u7684WordPress\u4e0a\u4f20\u9650\u5236\u53ef\u963b\u6b62\u60a8\u4e0a\u4f20\u5927\u6587\u4ef6\uff0c\u63d2\u4ef6\u548c\u4e3b\u9898\u3002\u5982\u679c\u60a8\u8981\u5efa\u7acb\u4e00\u4e2a\u62e5\u6709\u5927\u91cf\u591a\u5a92\u4f53\u8d44\u6e90\u7684\u7f51\u7ad9\uff0c\u90a3\u8fd9 &hellip; <a href=\"https:\/\/www.onwith.net\/index.php\/149.html\" class=\"more-link\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">\u5982\u4f55\u4fee\u6539WordPress\u6700\u5927\u4e0a\u4f20\u6587\u4ef6\u5927\u5c0f\u9650\u5236\uff1f<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":163,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[13],"class_list":["post-149","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-9","tag-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/WP-Maximum-Upload-File-Size-Plugin-Dashboard.png?fit=1100%2C489&ssl=1","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":395,"url":"https:\/\/www.onwith.net\/index.php\/395.html","url_meta":{"origin":149,"position":0},"title":"\u56fe\u7247\u4f18\u5316\u63d2\u4ef6 WP Smush Pro v3.9.9 \u5df2\u6fc0\u6d3b\u6c49\u5316\u7248","author":"kuper","date":"2022\u5e745\u67086\u65e5","format":false,"excerpt":"WP Smush Pro\u662f\u4e00\u6b3e\u6027\u80fd\u6700\u4f73\uff0c\u6613\u4e8e\u4f7f\u7528\u7684WordPress\u56fe\u50cf\u4f18\u5316\u63d2\u4ef6\u3002\u8be5\u63d2\u4ef6\u7531WPMU \u2026","rel":"","context":"\u5728\u201cwordpress\u201d\u4e2d","block_context":{"text":"wordpress","link":"https:\/\/www.onwith.net\/index.php\/category\/wordpress"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651834436-2-2-1.jpg?fit=650%2C455&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651834436-2-2-1.jpg?fit=650%2C455&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651834436-2-2-1.jpg?fit=650%2C455&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":247,"url":"https:\/\/www.onwith.net\/index.php\/247.html","url_meta":{"origin":149,"position":1},"title":"\u672c\u7ad9\u7834\u89e3\u7248WordPress\u63d2\u4ef6\u624b\u52a8\u66f4\u65b0\u65b9\u6cd5","author":"kuper","date":"2021\u5e741\u67081\u65e5","format":false,"excerpt":"WordPress\u63d2\u4ef6\u53ef\u901a\u8fc7\u81ea\u52a8\u66f4\u65b0\u548c\u624b\u52a8\u66f4\u65b0\u4e24\u79cd\u65b9\u5f0f\u5347\u7ea7\u63d2\u4ef6\u7248\u672c\uff0c\u81ea\u52a8\u66f4\u65b0\u53ef\u5728\u201c\u4eea\u8868\u76d8>\u63d2\u4ef6\u2026","rel":"","context":"\u5728\u201cwordpress\u201d\u4e2d","block_context":{"text":"wordpress","link":"https:\/\/www.onwith.net\/index.php\/category\/wordpress"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/2-8.jpg?fit=885%2C629&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/2-8.jpg?fit=885%2C629&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/2-8.jpg?fit=885%2C629&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/2-8.jpg?fit=885%2C629&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":148,"url":"https:\/\/www.onwith.net\/index.php\/148.html","url_meta":{"origin":149,"position":2},"title":"VPS \u4e91\u670d\u52a1\u5668\u80fd\u591f\u505a\u4ec0\u4e48\uff1f","author":"kuper","date":"2022\u5e745\u67081\u65e5","format":false,"excerpt":"\u5f88\u65e9\u4ee5\u524d\u4e70\u4e00\u53f0VPS\u4e3b\u8981\u7684\u529f\u80fd\u5c31\u662f\u7ffb\u5899\uff0c\u7136\u540e\u5e38\u5e74\u4e5f\u4ec5\u4ec5\u662f\u8dd1\u4e00\u4e2a Shadowsocks\uff0c\u540e\u6765\u6e10\u6e10\u7684\u53d1\u2026","rel":"","context":"\u5728\u201c\u6280\u672f\u201d\u4e2d","block_context":{"text":"\u6280\u672f","link":"https:\/\/www.onwith.net\/index.php\/category\/%e6%8a%80%e6%9c%af"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":260,"url":"https:\/\/www.onwith.net\/index.php\/260.html","url_meta":{"origin":149,"position":3},"title":"\u4e0b\u8f7dWordPress\u6027\u80fd\u63d2\u4ef6\uff1aWP-Optimize Premium v3.23","author":"kuper","date":"2022\u5e744\u67083\u65e5","format":false,"excerpt":"WP-Optimize\u662f\u4e00\u6b3e\u9769\u547d\u6027\u7684\u4e00\u4f53\u5316\u63d2\u4ef6\uff0c\u5b83\u53ef\u4ee5\u6e05\u7406\u4e0e\u4f18\u5316\u6570\u636e\u5e93\uff0c\u538b\u7f29\u56fe\u7247\u5e76\u9759\u6001\u7f13\u5b58\u7f51\u7ad9\uff0c\u8fd9\u4e00\u2026","rel":"","context":"\u5728\u201cwordpress\u201d\u4e2d","block_context":{"text":"wordpress","link":"https:\/\/www.onwith.net\/index.php\/category\/wordpress"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":340,"url":"https:\/\/www.onwith.net\/index.php\/340.html","url_meta":{"origin":149,"position":4},"title":"User Registration Pro v3.0.4 + Addons \u2013 WordPress \u6ce8\u518c\u767b\u5f55\u63d2\u4ef6","author":"kuper","date":"2022\u5e745\u67085\u65e5","format":false,"excerpt":"\u901a\u8fc7User Registration Pro\u521b\u5efa WordPress \u7528\u6237\u6ce8\u518c\u8868\u548c\u767b\u5f55\u8868\u5355\u4ece\u672a\u5982\u6b64\u2026","rel":"","context":"\u5728\u201cwordpress\u201d\u4e2d","block_context":{"text":"wordpress","link":"https:\/\/www.onwith.net\/index.php\/category\/wordpress"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651762970-user-registration.webp.jpg?fit=990%2C594&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651762970-user-registration.webp.jpg?fit=990%2C594&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651762970-user-registration.webp.jpg?fit=990%2C594&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.onwith.net\/onwith\/2022\/05\/1651762970-user-registration.webp.jpg?fit=990%2C594&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":270,"url":"https:\/\/www.onwith.net\/index.php\/270.html","url_meta":{"origin":149,"position":5},"title":"\u4e0b\u8f7dYITH WooCommerce Product Add-Ons Premium v3.1.0\u6fc0\u6d3b\u7248","author":"kuper","date":"2022\u5e745\u67082\u65e5","format":false,"excerpt":"WooComYITH WooCommerce Product Add-Ons & Extra\u2026","rel":"","context":"\u5728\u201cwordpress\u201d\u4e2d","block_context":{"text":"wordpress","link":"https:\/\/www.onwith.net\/index.php\/category\/wordpress"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/comments?post=149"}],"version-history":[{"count":0,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/posts\/149\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/media\/163"}],"wp:attachment":[{"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/media?parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/categories?post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onwith.net\/index.php\/wp-json\/wp\/v2\/tags?post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}