PDA


View Full Version : Uploading Attachment Limits?


spazz191
08-27-2007, 08:33 PM
I am trying to upload pdf's to my server, it seems that anything under 2 MB will upload fine but anything over does not.

I've checked Usergroup Permissions, attachment manager and attachment permissions...all set to 50MB, as a last resort, just in case it was timing out, I set the time out to 3600 seconds

am I missing something

Brian
08-27-2007, 09:53 PM
Sounds like your PHP upload limits are set to 2mb (which is a pretty common setting). You may be able to contact your host to get the limit raised though.

spazz191
08-27-2007, 10:11 PM
I did some searching on ASO's forums and they do cap the PHP memory at 2MB. I put in a ticket to increase but I don't think they will, from what I have read they are pretty strict when it comes to that. I think I will have to stick with the FTP route for now :confused:

spazz191
08-28-2007, 10:10 AM
ASO got back to me...they confirmed that they globally have it set at 2MB but you can change it in your .htaccess file.
Although I changed it in the file now I can't do over 10MB....hmmmm, time to reply to them, unless you have any ideas

Brian
08-28-2007, 10:24 AM
10MB is quite large for PHP file uploads. I think the "standard" cap these days is between 2-8MB, as PHP can sometimes struggle or have problems with file corruption once you go much past that, depending on your server.
With that said, you can try changing the 'Maximum Script Execution Time' and 'Maximum Upload Filesize' options in the Admin CP to see if that helps at all. If not, then 10MB may be the max that your server can handle.