• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question on max upload size for PHP

Chris1

Regular Pleskian
I've had a couple of clients lately run into the default max upload size for PHP of 2MB, it is easy enough to adjust this in the domains PHP settings however is there a downside to allowing a much larger upload size by default?

Are there are security issues?
Is it kept low to keep resource usage under control?
 
As far as I know it is just default PHP value.
It is task of administrator to variate this value depending on any risks.
 
Hi Igor,

I understand what you mean but what sort of risks can be exposed by lifting the default value?
 
Hi Chris1,

there are no risks at all ( but the one, that if you host many domains, it might increase your server load ). The default setting for "max_upload_size" is at "2MB" for years now and no vendor seem to adjust the limit within the last years to a higher limit. You might notice as well, that some vendors even keep on having a "y2k_compliance" setting. :rolleyes:
 
Back
Top