Knowledgebase

I can't upload files through my website that are over 2MB Print

  • 0

Problem: I've got a PHP application and I'm trying to upload files using the software to my website. Anything that is over 2 megabytes doesn't seem to work.

Solution: Commonly this is due to your 'upload_max_filesize' and 'post_max_size' PHP settings being set to low. With our servers, this is configurable by the user and is very easy to change!
  1. Login to cPanel. Click here to use our quick login redirector.
  2. Find the "Select PHP Version" icon. Click the icon.
  3. Click "Switch to PHP Settings" in the top right corner.
  4. Adjust "upload_max_filesize" and "post_max_size" to match, but larger than the file you need to upload.
Now you should be able to upload your files through your application without issue.

If you require any further assistance, please reach out to us!

Was this answer helpful?
« Back