1

I am trying to upload a 30MB PDF file. I keep getting the "“The uploaded file exceeds the maximum allowed size…” error. I have turned off XSS filtering and here is my PHP info:

memory_limit 100M post_max_size 12M upload_max_filesize 80M max_execution_time 300

I am a Super Admin. Any ideas on what might be going wrong?

1 Answer 1

3

Your post_max_size needs to be at least 30MB to handle that file. It's set to 12M currently, which is not nearly enough. I generally set my post_max_size to be the same as upload_max_filesize just to keep things simple.

1
  • Oh geez. I can't believe I missed that. Thank you!
    – Stephanie
    Sep 4, 2013 at 18:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.