{"id":4986,"date":"2020-01-17T17:30:24","date_gmt":"2020-01-17T09:30:24","guid":{"rendered":"https:\/\/blog.naibabiji.com\/?p=4986"},"modified":"2020-01-17T17:30:24","modified_gmt":"2020-01-17T09:30:24","slug":"the-uploaded-file-exceeds-the-upload_max_filesize-directive-in-php-ini","status":"publish","type":"post","link":"https:\/\/blog.naibabiji.com\/skill\/the-uploaded-file-exceeds-the-upload_max_filesize-directive-in-php-ini.html","title":{"rendered":"\u865a\u62df\u4e3b\u673a\u4e0a\u4f20\u63d2\u4ef6\u63d0\u793a\u8d85\u51faphp.ini\u5927\u5c0f\u9650\u5236\u7684\u4fee\u6539\u65b9\u6cd5"},"content":{"rendered":"<p>\u4eca\u5929\u5728\u4e00\u4e2acPanel\u9762\u677f\u7684\u865a\u62df\u673a\u4e0a\u4e0a\u4f20\u63d2\u4ef6\u5b89\u88c5\u63d0\u793a\u201cThe uploaded file exceeds the upload_max_filesize directive in php.ini.\u201d\u8fd9\u4e2a\u95ee\u9898\u662f\u7531\u4e8e\u9ed8\u8ba4\u7684php.ini\u4e0a\u4f20\u5927\u5c0f\u9650\u5236\u5bfc\u81f4\u7684\u3002\u6211\u4eec\u53ea\u9700\u8981\u8bbe\u7f6e\u4e0bupload_max_filesize\u7684\u503c\u5c31\u53ef\u4ee5\u89e3\u51b3\u4e86\u3002<\/p>\n<p><strong>\u5177\u4f53\u65b9\u6cd5\uff1a<\/strong><\/p>\n<p>1\u3001\u767b\u5f55cpanel\u865a\u62df\u4e3b\u673a\u7ba1\u7406\u9762\u677f\u3002<\/p>\n<p>2\u3001\u627e\u5230\u591a PHP INI \u7f16\u8f91\u5668\u8fdb\u5165\u3002<\/p>\n<p>3\u3001\u9009\u62e9\u4f60\u8981\u4fee\u6539\u7684\u7f51\u7ad9\uff0c\u7136\u540e\u627e\u5230upload_max_filesize\uff0c\u628a\u540e\u9762\u7684\u503c\u4fee\u6539\u5927\u4e00\u70b9\u5c31\u53ef\u4ee5\u4e86\u3002<\/p>\n<p>\u5982\u679c\u4f60\u7684\u865a\u62df\u4e3b\u673a\u662fDirectAdmin\u9762\u677f\uff0c\u90a3\u4e48\u5c31\u63d0\u4ea4\u5de5\u5355\u8ba9\u5ba2\u670d\u5e2e\u4f60\u4fee\u6539\u5427\uff0c\u81ea\u5df1\u6ca1\u6743\u9650\u4fee\u6539\u3002<\/p>\n\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-center kksr-valign-bottom\"\n    data-payload='{&quot;align&quot;:&quot;center&quot;,&quot;id&quot;:&quot;4986&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;bottom&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;0&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;0&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;4&quot;,&quot;greet&quot;:&quot;\u7ed9\u672c\u6587\u6253\u5206 post&quot;,&quot;legend&quot;:&quot;0\\\/5 - (0 votes)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;\u865a\u62df\u4e3b\u673a\u4e0a\u4f20\u63d2\u4ef6\u63d0\u793a\u8d85\u51faphp.ini\u5927\u5c0f\u9650\u5236\u7684\u4fee\u6539\u65b9\u6cd5&quot;,&quot;width&quot;:&quot;0&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 0px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 4px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            <span class=\"kksr-muted\">\u7ed9\u672c\u6587\u6253\u5206 post<\/span>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u5728\u4e00\u4e2acPanel\u9762\u677f\u7684\u865a\u62df\u673a\u4e0a\u4e0a\u4f20\u63d2\u4ef6\u5b89\u88c5\u63d0\u793a\u201cThe uploaded file exceeds th [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"\u865a\u62df\u4e3b\u673a\u4e0a\u4f20\u63d2\u4ef6\u63d0\u793a\u8d85\u51faphp.ini\u5927\u5c0f\u9650\u5236\u7684\u4fee\u6539\u65b9\u6cd5 - \u5976\u7238\u5efa\u7ad9\u7b14\u8bb0","description":"\u4eca\u5929\u5728\u4e00\u4e2acPanel\u9762\u677f\u7684\u865a\u62df\u673a\u4e0a\u4e0a\u4f20\u63d2\u4ef6\u5b89\u88c5\u63d0\u793a\u201cThe uploaded file exceeds the upload_max_filesize directive in php.ini.\u201d\u8fd9\u4e2a\u95ee\u9898\u662f\u7531\u4e8e\u9ed8\u8ba4\u7684php.ini\u4e0a\u4f20\u5927\u5c0f\u9650\u5236\u5bfc\u81f4\u7684\u3002\u6211\u4eec\u53ea\u9700\u8981\u8bbe\u7f6e\u4e0bupload_max_filesize\u7684\u503c\u5c31\u53ef\u4ee5\u89e3\u51b3"},"footnotes":""},"categories":[142],"tags":[],"class_list":["post-4986","post","type-post","status-publish","format-standard","hentry","category-skill"],"_links":{"self":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/4986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/comments?post=4986"}],"version-history":[{"count":0,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/posts\/4986\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/media?parent=4986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/categories?post=4986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.naibabiji.com\/wp-json\/wp\/v2\/tags?post=4986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}