electromoth Posted May 25, 2010 Posted May 25, 2010 Hi, I have some trouble with file uploads via HTTP. While the PHP configuration overview in cPanel says that upload_max_filesize would be set to 20 MB, my upload attempts fail with about 8 MB and above. I tried to catch the PHP variable $_FILES, but it wasn't set so there was no error ID. Am I doing something wrong or is the size limit set to another value than told by cPanel? Thanks in advance, electromoth
Wizard Posted May 25, 2010 Posted May 25, 2010 This support request is being escalated to our root admin.
Ashoat Posted May 25, 2010 Posted May 25, 2010 upload_max_filesize is definitely set to 20 MiB. Are you sure there isn't a bug in your code?
electromoth Posted May 28, 2010 Author Posted May 28, 2010 Well, my code seems to be fine. If I try files smaller than 8 MB, it works. Theoretically, there *could* be a bug in my code. I have written it manually. But is it possible that the size issue is related to bad code?!
Ashoat Posted May 28, 2010 Posted May 28, 2010 Well that's what the php.ini file says. If you know of any other place in PHP that could limit upload file size, let me know and I'll check. Otherwise, I think it's on your end.
electromoth Posted May 31, 2010 Author Posted May 31, 2010 Okay, thanks. I'll try some analysis for myself.
Recommended Posts