How to Increase PHP’s upload_max_filesize value using CloudLinux Selector in Plesk?

Contents

    You can modify PHP’s upload_max_filesize as per your needs using CloudLinux’s PHP Selector in Plesk.

     

    1. Log in to your Plesk account.

    2. In the right-hand sidebar, click on PHP Selector.

     

    3. Click on the Options menu.

    Note: If the Options page shows an error related to the native PHP version, change it to a non-native version first.

     

    4. Look for upload_max_filesize and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.

    Updated on December 11, 2020
    Was this article helpful?

    67 responses to “How to Increase PHP’s upload_max_filesize value using CloudLinux Selector in Plesk?”

    1. Eric Jones Avatar

      Great walkthrough, thank you. Saved me a support ticket.

    2. Eric Jones Avatar

      My old host capped this at two megabytes. Never again.

    3. Homer Selleck Avatar

      Anyone else get a blank page after saving? Just me, probably.

    4. Martin Hanson Avatar

      Worked on the first try, which almost never happens to me.

    5. Cora Sulman Avatar

      The screenshots helped, though the menu names looked a bit different on my panel.

    6. Eric Jones Avatar

      Short and clear. Bookmarked for the next time a client complains.

    7. Eric Jones Avatar

      Is there a reason hosts set this so low by default?

    8. Eric Jones Avatar

      I only wanted to upload one theme file. Two hours later, here I am reading about limits.

    9. Alfonzo Kessell Avatar

      Thanks, this fixed my annoying upload failure in about two minutes.

    10. Boyce Zakrzewski Avatar

      Why does this even need a guide? Because the default always seems to be one megabyte too small, that’s why.

    11. Eric Jones Avatar

      Ran into this limit last week and lost an hour. Glad someone wrote it down.

    12. Eric Jones Avatar

      Simple fix, strangely hard to find. Appreciate it.

    13. Eric Jones Avatar

      Clear steps, thanks. Wish every how-to was this tidy.

    14. Eric Jones Avatar

      I only came here because a plugin kept rejecting my files. Fixed now.

    15. Eric Jones Avatar

      Why did nobody tell me it was this simple?

    16. Eric Jones Avatar

      Phew. Thought I’d have to email support again.

    17. Eric Jones Avatar

      Great walkthrough. Tiny wish: a note on which plan levels allow it.

    18. Eric Jones Avatar

      Not gonna lie, I clicked around for an hour before finding this page.

    19. Eric Jones Avatar

      Saved this for my next client migration. Cheers.

    20. Eric Jones Avatar

      Quick question: does restarting anything matter afterward?

    21. Eric Jones Avatar

      Nice, now my site stops yelling at me about file sizes.

    22. Eric Jones Avatar

      I read three other tutorials before this one. Yours finally made sense.

    23. Eric Jones Avatar

      Would love a follow-up on what to do when the bigger limit still gets ignored.

    24. Eric Jones Avatar

      Worked on the first try. Rare for me, so thank you.

    25. Eric Jones Avatar

      Ugh, why is it always buried three menus deep?

    26. Eric Jones Avatar

      My hosting support told me to ask a developer. This was way easier.

    27. Eric Jones Avatar

      Thanks for writing this up. Clear, calm and no fluff.

    28. Eric Jones Avatar

      Does this still work on the newest control panel version, or has the menu moved around?

    29. Eric Jones Avatar

      Honestly the title alone made me laugh. Who needs a guide for this? Me, apparently.

    30. Eric Jones Avatar

      Short and sweet, exactly what I needed.

    31. Eric Jones Avatar

      Last week a client sent me a huge video and the form just refused it. Wish I had found this then.

    32. Eric Jones Avatar

      Is there a reason hosts keep this so low out of the box?

    33. Eric Jones Avatar

      A bit short on screenshots, but the steps worked.

    34. Eric Jones Avatar

      Bookmarked. My uploads keep failing and I had no idea where to even look.

    35. Eric Jones Avatar

      Thanks, this saved me an afternoon of head scratching.

    36. Eric Jones Avatar

      Why does this limit even exist by default? Genuinely curious.

    37. Eric Jones Avatar

      Worked like a charm, thank you for keeping it simple.

    38. Eric Jones Avatar

      Why did nobody warn me about this limit before my client demo?

    39. Eric Jones Avatar

      Great walkthrough. The order of the steps made it easy to follow.

    40. Eric Jones Avatar

      Anyone know if the same trick works on a shared plan?

    41. Eric Jones Avatar

      Four megabytes just never feels like enough these days.

    42. Eric Jones Avatar

      Thanks, that cleared up a headache for our small team.

    43. Eric Jones Avatar

      Would love a screenshot of the selector screen next time.

    44. Eric Jones Avatar

      Pretty sure my old host never let me touch this at all.

    45. Eric Jones Avatar

      Funny how a tiny number can break a whole website launch.

    46. Eric Jones Avatar

      Do I need to restart anything afterward or does it apply straight away?

    47. Eric Jones Avatar

      Saved me a support ticket. Cheers!

    48. Eric Jones Avatar

      My hosting panel looks slightly different but I found it in the end.

    49. Eric Jones Avatar

      Is there a way to do this per domain instead of globally?

    50. Eric Jones Avatar

      Clear steps, no fluff. Worked on my end.

    51. Eric Jones Avatar

      Wish I had found this before my third failed upload attempt.

    52. Eric Jones Avatar

      Short and to the point. Thanks.

    53. Eric Jones Avatar

      Any chance you could cover the matching post size limit too? They seem to go hand in hand.

    54. Eric Jones Avatar

      Tried it on a staging box and it stuck on the first go. Nice.

    55. Eric Jones Avatar

      I always forget which panel hides this setting. Handy reminder.

    56. Eric Jones Avatar

      Does changing this affect every site on the server or only one subscription?

    57. Eric Jones Avatar

      Finally, someone explains the selector part without a wall of jargon.

    58. Eric Jones Avatar

      Is it safe to just crank it up to something huge, or is there a sensible ceiling?

    59. Eric Jones Avatar

      Bookmarked. Our client keeps hitting this whenever they upload a big video.

    60. Eric Jones Avatar

      Why is the default so tiny anyway?

    61. Tyree Oneil Avatar

      Ran into this exact limit last week and spent an hour wondering why my uploads kept failing.

    62. Kyle Stinnett Avatar

      Nobody mentions this setting until an upload fails.

    63. Phillip Kendall Avatar

      Four clicks and done. Appreciated.

    64. Alisha Milson Avatar

      Does a restart of anything come after changing this?

    65. Margo Gresham Avatar

      Great, but where does the new value actually get stored?

    66. Teri Broome Avatar

      Bumped mine to 128 and uploads stopped failing.

    67. Noah Burt Avatar

      Why would anyone leave the default upload limit that low?

    Leave a Reply

    Your email address will not be published. Required fields are marked *