{"id":6816,"date":"2012-10-31T01:06:58","date_gmt":"2012-10-31T01:06:58","guid":{"rendered":"http:\/\/2slick.com\/web\/?p=6816"},"modified":"2012-11-07T05:59:58","modified_gmt":"2012-11-07T05:59:58","slug":"exceeds-the-maximum-upload-size-for-this-site","status":"publish","type":"post","link":"https:\/\/2slick.com\/web\/exceeds-the-maximum-upload-size-for-this-site\/affordablewebsitestips\/tutorials","title":{"rendered":"Exceeds the maximum upload size for this site."},"content":{"rendered":"<p>In this post I talk about the \"exceeds the maximum upload size for this site.\"\u00a0WordPress error message and the solution.<\/p>\n<p>WordPress is giving you the error message, but it's actually a hosting account limit that's affecting your upload and causing the 'problem'. <a title=\"phpinfo.pgp how to\" href=\"http:\/\/2slick.com\/web\/how-to-see-the-php-setting-on-the-server\/affordablewebsitestips\/tutorials\" target=\"_blank\">To see your hosting account setting using the phpinfo.php file<\/a>.<\/p>\n<p>Here's an actual example:<br \/>\n\"Maximum upload file size: 8MB.\u00a0After a file has been uploaded, you can add titles and descriptions.\u00a0gangnam.mp3 exceeds the maximum upload size for this site.\"<br \/>\n<a href=\"http:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/10\/max_file_size.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6817\" style=\"border: 1px solid black;\" title=\"max_file_size\" src=\"http:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/10\/max_file_size.jpg\" alt=\"\" width=\"583\" height=\"67\" srcset=\"https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/10\/max_file_size.jpg 583w, https:\/\/2slick.com\/web\/wp-content\/uploads\/2012\/10\/max_file_size-300x34.jpg 300w\" sizes=\"auto, (max-width: 583px) 100vw, 583px\" \/><\/a><\/p>\n<p>The 'Maximum upload file size' is a limit determined by your hosting company.<\/p>\n<h3>Manual solution<\/h3>\n<p>Most hosting companies allow you to upload a php5.ini file to adjust this limit. So if we upload a php5.ini file to the directory of your hosting account where you will upload your large files, the uploading process will function properly and no error messages will appear. Some hosting companies, like Godaddy, already put a php5.ini file on your you account, which you would have to modify rather than uploading a new php5.ini file. You may have read other tutorials similar to this one that aren't working. Many old tutorials instruct you to upload a 'php.ini' file, but since php has upgraded to php5, you how have to save your ini file as a 'php5.ini' file name.<\/p>\n<p><strong>Note:<\/strong> Godaddy's max file size upload limit is 192mb.<\/p>\n<p>Here is the text you should create in a text file (Notepad).<\/p>\n<p><!--DEVFMTCODE--><pre class=\"devcodeblock\" title=\"Javascript\"><table class=\"devcodetools\"><tbody><tr><td>&nbsp;Javascript&nbsp;|&nbsp;<\/td><td style=\"background-image:url('https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/img\/devformatter-copy.png');background-repeat:no-repeat;background-position:50% 50%;width:16px;height:16px;\"\/><embed id=\"ZeroClipboard1\" src=\"https:\/\/2slick.com\/web\/wp-content\/plugins\/devformatter\/_zclipboard.swf\" loop=\"false\" menu=\"false\" quality=\"best\" bgcolor=\"#ffffff\" width=\"16px\" height=\"16px\" align=\"middle\" allowScriptAccess=\"always\" allowFullScreen=\"false\" type=\"application\/x-shockwave-flash\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" flashvars=\"id=1&width=16&height=16\" wmode=\"transparent\" \/><\/td><td>&nbsp;copy&nbsp;code&nbsp;|<\/td><td style=\"cursor:pointer\" title=\"DevFormatter Plugin\" onclick=\"devfmt_credits()\">?<\/td><td width=\"99%\">&nbsp;<\/td><\/tr><\/tbody><\/table><div class=\"devcodeoverflow\"><table class=\"devcodearea\" width=\"100%\"><tr><td class=\"devcodelines\" width=\"1%\">1<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\"><\/pre><\/td><\/tr><tr><td class=\"devcodelines devcodelinesodd devcodelinesodd\" width=\"1%\">2<\/td><td class=\"devcodelinesarea devcodelinesareaodd devcodelinesareaodd\"><pre class=\"devcode devcodeline\">&nbsp;<\/pre><\/td><\/tr><tr><td class=\"devcodelines\" width=\"1%\">3<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\">register_globals<span style=\"color: #339933;\">=<\/span>off<span style=\"color: #339933;\">;<\/span><\/pre><\/td><\/tr><tr><td class=\"devcodelines devcodelinesodd devcodelinesodd\" width=\"1%\">4<\/td><td class=\"devcodelinesarea devcodelinesareaodd devcodelinesareaodd\"><pre class=\"devcode devcodeline\">&nbsp;<\/pre><\/td><\/tr><tr><td class=\"devcodelines\" width=\"1%\">5<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\">upload_max_filesize <span style=\"color: #339933;\">=<\/span> 30M<\/pre><\/td><\/tr><tr><td class=\"devcodelines devcodelinesodd devcodelinesodd\" width=\"1%\">6<\/td><td class=\"devcodelinesarea devcodelinesareaodd devcodelinesareaodd\"><pre class=\"devcode devcodeline\">post_max_size <span style=\"color: #339933;\">=<\/span> 30M<\/pre><\/td><\/tr><tr><td class=\"devcodelines\" width=\"1%\">7<\/td><td class=\"devcodelinesarea\"><pre class=\"devcode devcodeline\">&nbsp;<\/pre><\/td><\/tr><tr><td class=\"devcodelines devcodelinesodd devcodelinesodd\" width=\"1%\">8<\/td><td class=\"devcodelinesarea devcodelinesareaodd devcodelinesareaodd\"><pre class=\"devcode devcodeline\"><\/pre><\/td><\/tr><\/table><\/div><\/pre><!--END_DEVFMTCODE--><\/p>\n<p><strong>Note:<\/strong> Adjust the file size to be larger than the files you will be uploading then save the notepad file as 'php5.ini' to your desktop. Here are some <a title=\"upload a file using ftp\" href=\"http:\/\/2slick.com\/web\/how-to-upload-a-file-to-your-hosting-account-using-filezilla\/affordablewebsitestips\/tutorials\" target=\"_blank\">instructions on how to upload a file using ftp<\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post I talk about the &#8220;exceeds the maximum upload size for this site.&#8221;\u00a0WordPress error message and the solution. WordPress is giving you the error message, but it&#8217;s actually a hosting account limit that&#8217;s affecting your upload and causing the &#8216;problem&#8217;. To see your hosting account setting using the phpinfo.php file. Here&#8217;s an actual [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4718,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6],"tags":[581,69],"class_list":["post-6816","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-wordpress","tag-php-ini","tag-wordpress-2"],"_links":{"self":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/6816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/comments?post=6816"}],"version-history":[{"count":7,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/6816\/revisions"}],"predecessor-version":[{"id":6820,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/posts\/6816\/revisions\/6820"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media\/4718"}],"wp:attachment":[{"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/media?parent=6816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/categories?post=6816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2slick.com\/web\/wp-json\/wp\/v2\/tags?post=6816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}