{"id":502,"date":"2014-02-26T13:00:21","date_gmt":"2014-02-26T10:00:21","guid":{"rendered":"http:\/\/www.ahmedv.com\/wp\/?p=502"},"modified":"2014-02-26T15:27:49","modified_gmt":"2014-02-26T12:27:49","slug":"maximum-file-upload-size-php-ini","status":"publish","type":"post","link":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/","title":{"rendered":"Maximum File Upload Size &#8211; php.ini"},"content":{"rendered":"<p>On shared hosting\/VPN or cloud if you&#8217;d like to increase the default max file upload size from 10M check our the below<\/p>\n<p>You need to set the value of\u00a0<code>upload_max_filesize<\/code>\u00a0and\u00a0<code>post_max_size<\/code>\u00a0in your php.ini (in the example below 40M is what I&#8217;ve set the max upload to, however you can change to whatever you&#8217;d like eg. 100M etc.):<\/p>\n<pre><code>; Maximum allowed size for uploaded files.\r\nupload_max_filesize = 40M\r\n\r\n; Must be greater than or equal to upload_max_filesize\r\npost_max_size = 40M\r\n\r\nOr in the cursed .htaccess file \r\n<code>\r\nphp_value upload_max_filesize 40M\r\n<\/code><\/code><code>php_value post_max_size 40M<\/code><\/pre>\n<p><code>Happy uploading ....<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>On shared hosting\/VPN or cloud if you&#8217;d like to increase the default max file upload size from 10M check our the below You need to set the value of\u00a0upload_max_filesize\u00a0and\u00a0post_max_size\u00a0in your php.ini (in the example below 40M is what I&#8217;ve set the max upload to, however you can change to whatever you&#8217;d like eg. 100M etc.): [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[27,17,9],"tags":[53,182,178,218,219,217,41,215,216],"class_list":["post-502","post","type-post","status-publish","format-standard","hentry","category-development","category-open-source","category-wordpress","tag-htaccess","tag-file","tag-file-hosting","tag-limit","tag-max-filesize","tag-max-upload","tag-php","tag-php-ini","tag-upload"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Maximum File Upload Size - php.ini<\/title>\n<meta name=\"description\" content=\"php.ini, Upload size\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Maximum File Upload Size - php.ini\" \/>\n<meta property=\"og:description\" content=\"php.ini, Upload size\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/\" \/>\n<meta property=\"og:site_name\" content=\"Ahmed Varachia\" \/>\n<meta property=\"article:published_time\" content=\"2014-02-26T10:00:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-02-26T12:27:49+00:00\" \/>\n<meta name=\"author\" content=\"ahmedv\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ahmedv\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/\"},\"author\":{\"name\":\"ahmedv\",\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/#\\\/schema\\\/person\\\/8b1dfd3e5ce30dc9d15d6c875ecfb370\"},\"headline\":\"Maximum File Upload Size &#8211; php.ini\",\"datePublished\":\"2014-02-26T10:00:21+00:00\",\"dateModified\":\"2014-02-26T12:27:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/\"},\"wordCount\":66,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/#\\\/schema\\\/person\\\/8b1dfd3e5ce30dc9d15d6c875ecfb370\"},\"keywords\":[\".htaccess\",\"file\",\"file hosting\",\"limit\",\"max filesize\",\"max upload\",\"php\",\"php.ini\",\"upload\"],\"articleSection\":[\"Development\",\"Open Source\",\"Wordpress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/\",\"url\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/\",\"name\":\"Maximum File Upload Size - php.ini\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/#website\"},\"datePublished\":\"2014-02-26T10:00:21+00:00\",\"dateModified\":\"2014-02-26T12:27:49+00:00\",\"description\":\"php.ini, Upload size\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/maximum-file-upload-size-php-ini\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Maximum File Upload Size &#8211; php.ini\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/#website\",\"url\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/\",\"name\":\"Ahmed Varachia\",\"description\":\"Welcome to ahmedv.com\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/#\\\/schema\\\/person\\\/8b1dfd3e5ce30dc9d15d6c875ecfb370\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/#\\\/schema\\\/person\\\/8b1dfd3e5ce30dc9d15d6c875ecfb370\",\"name\":\"ahmedv\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e19c5a93ed3af019d3ad4721020ef5adb6ad1273cc995c6d4d1f28072e941ea5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e19c5a93ed3af019d3ad4721020ef5adb6ad1273cc995c6d4d1f28072e941ea5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e19c5a93ed3af019d3ad4721020ef5adb6ad1273cc995c6d4d1f28072e941ea5?s=96&d=mm&r=g\",\"caption\":\"ahmedv\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e19c5a93ed3af019d3ad4721020ef5adb6ad1273cc995c6d4d1f28072e941ea5?s=96&d=mm&r=g\"},\"url\":\"https:\\\/\\\/www.ahmedv.com\\\/wp\\\/author\\\/ahmedv\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Maximum File Upload Size - php.ini","description":"php.ini, Upload size","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/","og_locale":"en_US","og_type":"article","og_title":"Maximum File Upload Size - php.ini","og_description":"php.ini, Upload size","og_url":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/","og_site_name":"Ahmed Varachia","article_published_time":"2014-02-26T10:00:21+00:00","article_modified_time":"2014-02-26T12:27:49+00:00","author":"ahmedv","twitter_misc":{"Written by":"ahmedv","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/#article","isPartOf":{"@id":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/"},"author":{"name":"ahmedv","@id":"https:\/\/www.ahmedv.com\/wp\/#\/schema\/person\/8b1dfd3e5ce30dc9d15d6c875ecfb370"},"headline":"Maximum File Upload Size &#8211; php.ini","datePublished":"2014-02-26T10:00:21+00:00","dateModified":"2014-02-26T12:27:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/"},"wordCount":66,"commentCount":1,"publisher":{"@id":"https:\/\/www.ahmedv.com\/wp\/#\/schema\/person\/8b1dfd3e5ce30dc9d15d6c875ecfb370"},"keywords":[".htaccess","file","file hosting","limit","max filesize","max upload","php","php.ini","upload"],"articleSection":["Development","Open Source","Wordpress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/","url":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/","name":"Maximum File Upload Size - php.ini","isPartOf":{"@id":"https:\/\/www.ahmedv.com\/wp\/#website"},"datePublished":"2014-02-26T10:00:21+00:00","dateModified":"2014-02-26T12:27:49+00:00","description":"php.ini, Upload size","breadcrumb":{"@id":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.ahmedv.com\/wp\/maximum-file-upload-size-php-ini\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ahmedv.com\/wp\/"},{"@type":"ListItem","position":2,"name":"Maximum File Upload Size &#8211; php.ini"}]},{"@type":"WebSite","@id":"https:\/\/www.ahmedv.com\/wp\/#website","url":"https:\/\/www.ahmedv.com\/wp\/","name":"Ahmed Varachia","description":"Welcome to ahmedv.com","publisher":{"@id":"https:\/\/www.ahmedv.com\/wp\/#\/schema\/person\/8b1dfd3e5ce30dc9d15d6c875ecfb370"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ahmedv.com\/wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.ahmedv.com\/wp\/#\/schema\/person\/8b1dfd3e5ce30dc9d15d6c875ecfb370","name":"ahmedv","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e19c5a93ed3af019d3ad4721020ef5adb6ad1273cc995c6d4d1f28072e941ea5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e19c5a93ed3af019d3ad4721020ef5adb6ad1273cc995c6d4d1f28072e941ea5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e19c5a93ed3af019d3ad4721020ef5adb6ad1273cc995c6d4d1f28072e941ea5?s=96&d=mm&r=g","caption":"ahmedv"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/e19c5a93ed3af019d3ad4721020ef5adb6ad1273cc995c6d4d1f28072e941ea5?s=96&d=mm&r=g"},"url":"https:\/\/www.ahmedv.com\/wp\/author\/ahmedv\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/posts\/502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":1,"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"predecessor-version":[{"id":503,"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/posts\/502\/revisions\/503"}],"wp:attachment":[{"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ahmedv.com\/wp\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}