{"id":24286,"date":"2022-02-02T14:28:26","date_gmt":"2022-02-02T14:28:26","guid":{"rendered":"https:\/\/1-grid.com\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/"},"modified":"2023-08-30T12:35:40","modified_gmt":"2023-08-30T12:35:40","slug":"how-to-increase-your-max-upload-file-size-for-wordpress","status":"publish","type":"ht_kb","link":"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/","title":{"rendered":"How to increase your Max Upload file size for WordPress"},"content":{"rendered":"<blockquote><p><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">This article provides you with information on how to update your PHP resources for WordPress.<\/span><\/p><\/blockquote>\n<p><span style=\"font-family: Helvetica,sans-serif;\">\u00a0<\/span><\/p>\n<h4><span style=\"font-family: Helvetica, sans-serif; color: #000000;\"><span style=\"font-size: 16px;\">There are 2 ways that you can choose to increase the maximum upload file size in WordPress.<\/span><\/span><\/h4>\n<h3 style=\"font-size: 26px; margin: 13px 0px 20px; color: #363d40; font-weight: 600; line-height: 26px; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\"><span style=\"font-family: Helvetica, sans-serif; color: #000000;\"><strong>Step 1.<\/strong> Update .htaccess file<\/span><\/h3>\n<pre style=\"margin: 0px 0px 1.5em; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 16px; white-space: pre-wrap; overflow-wrap: break-word; display: block; line-height: 1.5em; word-break: break-all; background: #f5f5f5; border: 1px solid #d6d6d6; padding: 2em; border-radius: 3px; color: #555555; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\"><span style=\"font-family: Helvetica,sans-serif;\">php_value upload_max_filesize 128M\nphp_value post_max_size 128M\nphp_value memory_limit 256M\nphp_value max_execution_time 300\nphp_value max_input_time 300<\/span><\/pre>\n<p style=\"margin: 0px; padding: 0px 0px 26px; color: #555555; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\"><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">Change the numbers to the values that you need. The max execution time and max input time values are in seconds and might need to be increased further if your internet connection is slow.<\/span><\/p>\n<h3 style=\"font-size: 26px; margin: 13px 0px 20px; color: #363d40; font-weight: 600; line-height: 26px; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, sans-serif; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\"><span style=\"font-family: Helvetica, sans-serif; color: #000000;\">2. Update the wp-config.php file<\/span><\/h3>\n<pre style=\"margin: 0px 0px 1.5em; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 16px; white-space: pre-wrap; overflow-wrap: break-word; display: block; line-height: 1.5em; word-break: break-all; background: #f5f5f5; border: 1px solid #d6d6d6; padding: 2em; border-radius: 3px; color: #555555; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;\"><span style=\"font-family: Helvetica,sans-serif;\">@ini_set( 'upload_max_filesize' , '128M' );\n@ini_set( 'post_max_size', '128M');\n@ini_set( 'memory_limit', '256M' );\n@ini_set( 'max_execution_time', '300' );\n@ini_set( 'max_input_time', '300' );<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This article provides you with information on how to update your PHP resources for WordPress. \u00a0 There are 2 ways that you can choose to increase the maximum upload file size in WordPress. Step 1. Update .htaccess file php_value upload_max_filesize 128M php_value post_max_size 128M php_value memory_limit 256M php_value max_execution_time 300&#8230;<\/p>\n","protected":false},"author":21,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"ht-kb-category":[27],"ht-kb-tag":[405,420,470,480,513,614,1075,1150],"class_list":["post-24286","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-wordpress","ht_kb_tag-file-size","ht_kb_tag-for","ht_kb_tag-hosting","ht_kb_tag-how-to","ht_kb_tag-increase","ht_kb_tag-max","ht_kb_tag-upload","ht_kb_tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to increase your Max Upload file size for WordPress -<\/title>\n<meta name=\"description\" content=\"This article provides you with information on how to update your PHP resources for WordPress 1-grid Knowledge Base\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to increase your Max Upload file size for WordPress -\" \/>\n<meta property=\"og:description\" content=\"This article provides you with information on how to update your PHP resources for WordPress 1-grid Knowledge Base\" \/>\n<meta property=\"og:url\" content=\"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"1-grid Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/1grid.co.za\/\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-30T12:35:40+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@1grid_hosting\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/\",\"name\":\"How to increase your Max Upload file size for WordPress -\",\"isPartOf\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\"},\"datePublished\":\"2022-02-02T14:28:26+00:00\",\"dateModified\":\"2023-08-30T12:35:40+00:00\",\"description\":\"This article provides you with information on how to update your PHP resources for WordPress 1-grid Knowledge Base\",\"breadcrumb\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/1grid.co.za\/knowledge\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to increase your Max Upload file size for WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#website\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#organization\",\"name\":\"1-Grid Domain Hosting Knowledge Base\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"contentUrl\":\"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg\",\"width\":100,\"height\":100,\"caption\":\"1-Grid Domain Hosting Knowledge Base\"},\"image\":{\"@id\":\"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/1grid.co.za\/\",\"https:\/\/twitter.com\/1grid_hosting\",\"https:\/\/www.instagram.com\/1grid_hosting\/\",\"https:\/\/za.linkedin.com\/company\/1-grid\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to increase your Max Upload file size for WordPress -","description":"This article provides you with information on how to update your PHP resources for WordPress 1-grid Knowledge Base","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"How to increase your Max Upload file size for WordPress -","og_description":"This article provides you with information on how to update your PHP resources for WordPress 1-grid Knowledge Base","og_url":"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/","og_site_name":"1-grid Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/1grid.co.za\/","article_modified_time":"2023-08-30T12:35:40+00:00","twitter_card":"summary_large_image","twitter_site":"@1grid_hosting","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/","url":"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/","name":"How to increase your Max Upload file size for WordPress -","isPartOf":{"@id":"https:\/\/1grid.co.za\/knowledge\/#website"},"datePublished":"2022-02-02T14:28:26+00:00","dateModified":"2023-08-30T12:35:40+00:00","description":"This article provides you with information on how to update your PHP resources for WordPress 1-grid Knowledge Base","breadcrumb":{"@id":"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/1grid.co.za\/knowledge\/how-to-increase-your-max-upload-file-size-for-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/1grid.co.za\/knowledge\/"},{"@type":"ListItem","position":2,"name":"How to increase your Max Upload file size for WordPress"}]},{"@type":"WebSite","@id":"https:\/\/1grid.co.za\/knowledge\/#website","url":"https:\/\/1grid.co.za\/knowledge\/","name":"1-Grid Domain Hosting Knowledge Base","description":"","publisher":{"@id":"https:\/\/1grid.co.za\/knowledge\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/1grid.co.za\/knowledge\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/1grid.co.za\/knowledge\/#organization","name":"1-Grid Domain Hosting Knowledge Base","url":"https:\/\/1grid.co.za\/knowledge\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/","url":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","contentUrl":"https:\/\/1grid.co.za\/knowledge\/wp-content\/uploads\/2023\/01\/1-grid-logo-color.svg","width":100,"height":100,"caption":"1-Grid Domain Hosting Knowledge Base"},"image":{"@id":"https:\/\/1grid.co.za\/knowledge\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/1grid.co.za\/","https:\/\/twitter.com\/1grid_hosting","https:\/\/www.instagram.com\/1grid_hosting\/","https:\/\/za.linkedin.com\/company\/1-grid"]}]}},"_links":{"self":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/comments?post=24286"}],"version-history":[{"count":2,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24286\/revisions"}],"predecessor-version":[{"id":31452,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb\/24286\/revisions\/31452"}],"wp:attachment":[{"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/media?parent=24286"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-category?post=24286"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/1grid.co.za\/knowledge\/wp-json\/wp\/v2\/ht-kb-tag?post=24286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}