Difference between revisions of "Changing your upload limits"

From XMission Wiki
Jump to: navigation, search
(Plesk)
 
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:Php-settings-dashboard.png]]
+
[[File:PleskPHPsettings-1.png|600px]]
  
  
Line 12: Line 12:
 
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:The-actual-settings.png]]
+
[[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'''.
 
[[File:Settings-confirm.png]]
 
 
 
  
 
==Cloud Hosting==
 
==Cloud Hosting==

Latest revision as of 16: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.

PleskPHPsettings-1.png


Once here, under Performance Settings, you want to update post_max_size and upload_max_filesize

PleskPHPsettings-4.png


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.

Control-panel-services.png


Expand the Servers section, then click on Edit on the server you would like to configure PHP on.

Control-edit-button.png


On this screen, under Server Settings is a section labelled PHP Settings. Here, click on Add.

Control-php-add-button.png


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.

Control-php-values.png


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.