• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

upload_max_filesize setting

Mainframeguy

Debiant by way of Ubuntu
#1
What are the reasons for this seemingly quite low default setting of 2MB and negative possible consequences for raising the limit?

I'm enjoying my Chyrp! blogging but have found this restricts me blogging my upcoming concert with the 136MB MP3 file! Yet I can quite happily FTP and host the file that way.... I'm pretty sure I COULD work around the issue - but the default Chyrp feather uses the upload function.

This is my not so subtle way of seeing if Lord wants to up the limit as he does my hosting :lick: (thankyou thankyou!). I genuinely do want to understand the issue though, and am not entirely serious about wanting to assault my innocent blog readers with Elgars Dream of Gerontius! :speechless:
 

X-Istence

*
Political User
#3
The upload size is set to a small limit because each time that someone uploads a file, the file is saved to a temporary location, and the PHP process has to spend time writing the file to disk, thereby having a long running HTTP connection, something the web server was not designed to do in the first place.
 

Mainframeguy

Debiant by way of Ubuntu
#4
Thanks for the explanation X - makes sense. I guess that is a no then Lord... ;) I can live with 2MB but would have quite liked 4.... I'll be off to see the way to frig Chyrp to work around this now I think.... Pretty sure it'll be a simple database poke....
 
#7
HTTP/PHP are not for large files :) Lazy or not it uses more resources than necessary to do a job that FTP, SFTP and SCP were designed for :)
 

Members online

No members online now.

Latest posts

Latest profile posts

Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,014
Latest member
sanoravies