{"id":26,"date":"2012-06-17T18:46:41","date_gmt":"2012-06-17T17:46:41","guid":{"rendered":"http:\/\/james-batchelor.com\/?p=26"},"modified":"2012-06-17T18:46:41","modified_gmt":"2012-06-17T17:46:41","slug":"increasing-maximum-upload-file-size-in-wordpress","status":"publish","type":"post","link":"https:\/\/james-batchelor.com\/index.php\/2012\/06\/17\/increasing-maximum-upload-file-size-in-wordpress\/","title":{"rendered":"Increasing Maximum Upload File Size in WordPress"},"content":{"rendered":"<p>When installing WordPress on a fresh new server, you may notice that all uploading is limited to 2MB. A search online reveals that this gripe is well discussed. However most solutions are tailored for users who rent dedicated WordPress hosting from companies.<\/p>\n<p>For those of you who are using your own server, navigate to the file php.ini located where the core php installation is, normally in the Program Files\/PHP folder in Windows.<\/p>\n<p><a href=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2012\/06\/php.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-165 size-medium\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2012\/06\/php-300x102.png\" alt=\"php\" width=\"300\" height=\"102\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2012\/06\/php-300x102.png 300w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2012\/06\/php.png 814w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><\/p>\n<p>From there, edit php.ini using Notepad or similar, changing the following values:<\/p>\n<p>&#8220;Upload_max_filesize&#8221; from &#8220;2M&#8221; to 64M (or\u00a0as desired)<br \/>\n&#8220;<span style=\"color: #333333; font-style: normal; line-height: 24px;\">post_max_size&#8221; from 8M to your favoured size<\/span><\/p>\n<p>Check back on your WordPress site to see if the change has applied:<\/p>\n<p><a href=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2012\/06\/upload.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-164 size-medium\" src=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2012\/06\/upload-300x118.jpg\" alt=\"upload\" width=\"300\" height=\"118\" srcset=\"https:\/\/james-batchelor.com\/wp-content\/uploads\/2012\/06\/upload-300x118.jpg 300w, https:\/\/james-batchelor.com\/wp-content\/uploads\/2012\/06\/upload.jpg 614w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When installing WordPress on a fresh new server, you may notice that all uploading is limited to 2MB. A search online reveals that this gripe is well discussed. However most solutions are tailored for users who rent dedicated WordPress hosting from companies. For those of you who are using your own server, navigate to the &hellip; <a href=\"https:\/\/james-batchelor.com\/index.php\/2012\/06\/17\/increasing-maximum-upload-file-size-in-wordpress\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Increasing Maximum Upload File Size in WordPress&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6],"tags":[47,59,83,92],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-servers","category-websites","tag-max-filesize","tag-php-ini","tag-upload-size","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":0,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"wp:attachment":[{"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/james-batchelor.com\/index.php\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}