Forums | Mahara Community

Support /
File upload size


anonymous profile picture
Account deleted
Posts: 47

06 July 2009, 1:39

Hi all,

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?

Thanks!

Mark.

anonymous profile picture
Account deleted
Posts: 228

06 July 2009, 2:35

Hi Mark,

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.

anonymous profile picture
Account deleted
Posts: 47

06 July 2009, 18:00

Hi Penny,

Was wondering if it was a php file size setting somewhere - will check it out - many thanks for the quick resonse :)

Mark.

anonymous profile picture
Account deleted
Posts: 1643

09 July 2009, 21:39

Hi - this blog post might help you out with setting those values.
anonymous profile picture
Account deleted
Posts: 8

27 October 2009, 11:27

Hi all,

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,

Daniel

Heinz Krettek's profile picture
Posts: 480

27 October 2009, 13:16

Hi,

did you check your quota?

 

Heinz

anonymous profile picture
Account deleted
Posts: 8

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.

anonymous profile picture
Account deleted
Posts: 8

27 October 2009, 14:03

ok, uploading 3x2MB worked fine :/
Heinz Krettek's profile picture
Posts: 480

27 October 2009, 14:04

did you restart apache if you edited php.ini settings?

herzliche Grüße aus dem Schwearzwald

Heinz

 

anonymous profile picture
Account deleted
Posts: 8

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 ;)

Danke Heinz!!!

10 results