Forums | Mahara Community
File upload size
06 July 2009, 1:39
Been looking around in the configuration options trying to find where I can modify the maximum upload size for files - is it safe to say that this is something external to Mahara? If so then what setting needs to be changed and where?
06 July 2009, 2:35
You need to set the upload_max_filesize directive in your php.ini . That's usually somewhere like /etc/php5/apache2/php.ini on debian based systems, not sure where other distributions put it.
There's also a post_max_size, which is the maximum size of the whole post. If you're bumping upload_max_filesize up a lot, then you'll probably need to up that one too, but otherwise it should be ok to leave that one.
06 July 2009, 18:00
Was wondering if it was a php file size setting somewhere - will check it out - many thanks for the quick resonse :)
27 October 2009, 11:27
I wanted to increase the max. filesize of uploads so I edited the php.ini (upload_max_filesize = 10M, post_max_size = 15M). But when uploading a 4MB pdf I get the same error as before, the file is too large.
Is there any other option I have to change? (Running Mahara 1.1.3 on Debain)
Thanks in advance,
27 October 2009, 13:16
did you check your quota?
27 October 2009, 13:37
If you mean this:
"Kontingen: Sie haben 2.9MB Ihres 50.0MB Kontingents benutzt."
it's unfortunately not the problem. I'm currently uploading three 2MB files to make sure I had enough free space.
27 October 2009, 14:03ok, uploading 3x2MB worked fine :/
27 October 2009, 14:04
did you restart apache if you edited php.ini settings?
herzliche Grüße aus dem Schwearzwald
27 October 2009, 14:59
ouch, shame on me! Of course I did NOT restart apache. I never do... And I always wonder why things don't work.
Restarted, uploaded, perfect ;)