Difference between revisions of "Changing your upload limits"
(Created page with "=Changing your upload limits= By default, PHP limits uploads to 2MB. In practical usage, you probably want more than this. ==Plesk== Once logged into the Plesk hosting pane...") |
(→Plesk) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
Once logged into the Plesk hosting panel, you will want to click on '''PHP Settings''' in the control area for your domain. | Once logged into the Plesk hosting panel, you will want to click on '''PHP Settings''' in the control area for your domain. | ||
− | [[File: | + | [[File:PleskPHPsettings-1.png|600px]] |
+ | |||
+ | |||
Once here, under '''Performance Settings''', you want to update '''post_max_size''' and '''upload_max_filesize''' | Once here, under '''Performance Settings''', you want to update '''post_max_size''' and '''upload_max_filesize''' | ||
− | [[File: | + | [[File:PleskPHPsettings-4.png|600px]] |
+ | |||
+ | |||
Once the settings are configured to your needs, scroll down and click '''OK'''. | Once the settings are configured to your needs, scroll down and click '''OK'''. | ||
− | |||
− | |||
==Cloud Hosting== | ==Cloud Hosting== | ||
Line 47: | Line 49: | ||
Once that is done, PHP should be configured on your server. | Once that is done, PHP should be configured on your server. | ||
+ | |||
+ | [[Category: Control Panel]] |
Latest revision as of 15:38, 8 December 2022
Changing your upload limits
By default, PHP limits uploads to 2MB. In practical usage, you probably want more than this.
Plesk
Once logged into the Plesk hosting panel, you will want to click on PHP Settings in the control area for your domain.
Once here, under Performance Settings, you want to update post_max_size and upload_max_filesize
Once the settings are configured to your needs, scroll down and click OK.
Cloud Hosting
On managed cloud servers, PHP settings are configured in the Control Panel. Log into the control pane, and click on the Services tab.
Expand the Servers section, then click on Edit on the server you would like to configure PHP on.
On this screen, under Server Settings is a section labelled PHP Settings. Here, click on Add.
In the window that appears, first we want to put post_max_size under Key, and the size limit we want to implement under Value. In this example, I'm setting it to 256M.
Click Submit when you're done.
We want to do this one more time, this time putting upload_max_filesize as the Key, but keeping the same value.
Once that is done, PHP should be configured on your server.