{"id":3888,"date":"2026-07-22T21:33:43","date_gmt":"2026-07-22T21:33:43","guid":{"rendered":"https:\/\/disoh.com\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/"},"modified":"2026-07-22T21:33:43","modified_gmt":"2026-07-22T21:33:43","password":"","slug":"how-do-i-increase-the-php-upload-file-size-limit-in-directadmin","status":"publish","type":"docs","link":"https:\/\/disoh.com\/fi\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/","title":{"rendered":"How do I increase the PHP upload file size limit in DirectAdmin?"},"content":{"rendered":"<p>If you cannot upload a large file, image, or plugin because it exceeds the maximum size, you can raise the PHP upload limit in DirectAdmin. This guide explains which settings control it and how to change them.<\/p>\n<h2>The settings involved<\/h2>\n<p>Two PHP settings work together to control uploads, and both need to be large enough:<\/p>\n<ul>\n<li><strong>upload_max_filesize:<\/strong> the largest single file you can upload.<\/li>\n<li><strong>post_max_size:<\/strong> the total size of a form submission, which must be at least as large as the upload.<\/li>\n<\/ul>\n<p>It is also worth checking <strong>max_execution_time<\/strong> so big uploads have time to finish.<\/p>\n<h2>Changing the limit<\/h2>\n<ol>\n<li>Log in to DirectAdmin.<\/li>\n<li>Open the <strong>Select PHP Version<\/strong> or PHP settings area.<\/li>\n<li>Increase upload_max_filesize and post_max_size to your desired value.<\/li>\n<li>Save.<\/li>\n<\/ol>\n<p>If the settings are not shown in the panel, add them to a custom php.ini in your site folder.<\/p>\n<h2>Verifying the change<\/h2>\n<p>Create a PHP info page, or in WordPress check <strong>Media &gt; Add New<\/strong>, which shows the current maximum upload size. Try your upload again once the new limit is active.<\/p>\n<h2>Troubleshooting<\/h2>\n<ul>\n<li><strong>Limit unchanged:<\/strong> confirm you edited the correct PHP version and cleared caching.<\/li>\n<li><strong>Upload still fails:<\/strong> raise post_max_size and max_execution_time as well.<\/li>\n<\/ul>\n<h2>Need help?<\/h2>\n<p>If a large upload keeps failing, our support team can adjust the limits for you over live chat.<\/p>","protected":false},"excerpt":{"rendered":"<p>If you cannot upload a large file, image, or plugin because it exceeds the maximum size, you can raise the PHP upload limit in DirectAdmin. This guide explains which settings control it and how to change them. The settings involved Two PHP settings work together to control uploads, and both need to be large enough: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[12],"doc_tag":[],"class_list":["post-3888","docs","type-docs","status-publish","hentry","doc_category-webhosting"],"year_month":"2026-09","word_count":228,"total_views":"163","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/fi\/author\/jorn\/"},"doc_category_info":[{"term_name":"Webhosting","term_url":"https:\/\/disoh.com\/fi\/docs-category\/webhosting\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How do I increase the PHP upload file size limit in DirectAdmin? &#8211; Disoh<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/disoh.com\/fi\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"fi_FI\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I increase the PHP upload file size limit in DirectAdmin? &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"If you cannot upload a large file, image, or plugin because it exceeds the maximum size, you can raise the PHP upload limit in DirectAdmin. This guide explains which settings control it and how to change them. The settings involved Two PHP settings work together to control uploads, and both need to be large enough: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/fi\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Arvioitu lukuaika\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuutti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\\\/\",\"name\":\"How do I increase the PHP upload file size limit in DirectAdmin? &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#website\"},\"datePublished\":\"2026-07-22T21:33:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"fi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/support\\\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I increase the PHP upload file size limit in DirectAdmin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/fi\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/fi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/fi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fi\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How do I increase the PHP upload file size limit in DirectAdmin? &#8211; Disoh","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:\/\/disoh.com\/fi\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/","og_locale":"fi_FI","og_type":"article","og_title":"How do I increase the PHP upload file size limit in DirectAdmin? &#8211; Disoh","og_description":"If you cannot upload a large file, image, or plugin because it exceeds the maximum size, you can raise the PHP upload limit in DirectAdmin. This guide explains which settings control it and how to change them. The settings involved Two PHP settings work together to control uploads, and both need to be large enough: [&hellip;]","og_url":"https:\/\/disoh.com\/fi\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Arvioitu lukuaika":"1 minuutti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/","url":"https:\/\/disoh.com\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/","name":"How do I increase the PHP upload file size limit in DirectAdmin? &#8211; Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/fi\/#website"},"datePublished":"2026-07-22T21:33:43+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/#breadcrumb"},"inLanguage":"fi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/support\/how-do-i-increase-the-php-upload-file-size-limit-in-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"How do I increase the PHP upload file size limit in DirectAdmin?"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/fi\/#website","url":"https:\/\/disoh.com\/fi\/","name":"Disoh","description":"Digitaalisten ratkaisujen is\u00e4nn\u00f6inti","publisher":{"@id":"https:\/\/disoh.com\/fi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/fi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fi"},{"@type":"Organization","@id":"https:\/\/disoh.com\/fi\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/fi\/","logo":{"@type":"ImageObject","inLanguage":"fi","@id":"https:\/\/disoh.com\/fi\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/fi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/docs\/3888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/comments?post=3888"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/docs\/3888\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/media?parent=3888"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/doc_category?post=3888"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/fi\/wp-json\/wp\/v2\/doc_tag?post=3888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}