{"id":1711,"date":"2019-08-08T18:44:02","date_gmt":"2019-08-08T18:44:02","guid":{"rendered":"https:\/\/scunster.co.uk\/?p=1711"},"modified":"2019-08-08T18:45:22","modified_gmt":"2019-08-08T18:45:22","slug":"ispconfig-nginx-increase-max-php-upload-size","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=1711","title":{"rendered":"ISPConfig \/ Nginx &#8211; Increase Max PHP Upload Size"},"content":{"rendered":"<p>If you are running ISPConfig and one of your websites or clients needs to increase the max upload size from 2MB just do the following. <em>(you can change this setting globally to affect all your hosted websites but it is often more desirable to set individual limits as and when your sites need it.)<\/em><\/p>\n<p>Log in to ISPConfig as admin and click on the &#8220;<strong>Sites<\/strong>&#8221; tab. <\/p>\n<p>Now, click on the Domain that you wish to set the increases size limit.<\/p>\n<p>Choose the <strong>Options<\/strong> TAB<\/p>\n<p><a href=\"https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig1-1024x455.png\" alt=\"\" width=\"1024\" height=\"455\" class=\"alignleft size-large wp-image-1712\" srcset=\"https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig1-1024x455.png 1024w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig1-300x133.png 300w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig1-768x341.png 768w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig1-980x435.png 980w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig1-480x213.png 480w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig1.png 1258w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Now, scroll down until you find <strong>Custom php.ini settings<\/strong><\/p>\n<p><a href=\"https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig2-1024x524.png\" alt=\"\" width=\"1024\" height=\"524\" class=\"alignleft size-large wp-image-1713\" srcset=\"https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig2-1024x524.png 1024w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig2-300x154.png 300w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig2-768x393.png 768w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig2-980x502.png 980w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig2-480x246.png 480w, https:\/\/scunster.co.uk\/wp-content\/uploads\/2019\/08\/phpispconfig2.png 1227w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Add the following two lines to the &#8220;Custom php.ini&#8221; settings and save.<\/p>\n<pre>upload_max_filesize = 500M\r\npost_max_size = 500M<\/pre>\n<p>You should change this to a size that suits your requirements.<br \/>\n10M = 10MB<br \/>\n500M = 500MB<br \/>\n1gB = 1024M<br \/>\n2gB = 2048M<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are running ISPConfig and one of your websites or clients needs to increase the max upload size from 2MB just do the following. (you can change this setting globally to affect all your hosted websites but it is often more desirable to set individual limits as and when your sites need it.) Log [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[492],"tags":[505,460,546,22,547],"class_list":["post-1711","post","type-post","status-publish","format-standard","hentry","category-ispconfig","tag-ini","tag-ispconfig","tag-max","tag-php","tag-upload"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1711"}],"version-history":[{"count":2,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1711\/revisions"}],"predecessor-version":[{"id":1715,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1711\/revisions\/1715"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}