Upload Limit?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Upload Limit?

Post by JWalker »

Is there some limit of the size of the uploaded media files. There is in php.ini a directive:

Code: Select all

; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
I changed it to 20M but could not upload 17MB WAV file. Is there some config option in the serendipity configuration to change this?
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Upload Limit?

Post by garvinhicking »

Hi!

If you upload large files to s9y, you also need to raise your memory_limit of PHP.

Also, s9y can configure a upload limit in your s9y configuration screen, usually its unset.

Also you must check your PHP.ini "http_post_max_size" value (or something like that).

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
JWalker
Regular
Posts: 177
Joined: Mon Sep 12, 2005 4:14 pm
Location: Botevgrad, Bulgaria
Contact:

Post by JWalker »

It succeeded. I changed from 10 to 20M in php.ini:

Code: Select all

; Maximum size of POST data that PHP will accept.
post_max_size = 20M
P.S. My Serendipity is 1.2.1 and PHP 5.2.4 and I didn't see a option related to upload limit.
Ivan Cenov
OKTO-7 Co., Botevgrad
Bulgaria
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You should see the configu option in the section where you also define your own media keywords in the global config. Just next to where you can define a maximum picture width for the upload?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply