.htaccess upload_max_filesize

Ask all your questions regarding OC 4.x and older. Please read the Support Forum Rules
Forum rules
Before you post; make sure you are using at least PHP Version 5.3.x - Also read How To Solve Problems By Yourself

.htaccess upload_max_filesize

Postby juerg » Fri Jul 20, 2012 2:23 pm

Help! Owncloud 4.04 on Debian squeeze. I cannot upload files larger than 100MB

I have set the upload_max_filesize to 300MB and also post_max_size to 300MB. Can check this with phpinfo.php and looks ok.

While uploading the file goes to /tmp instead to /var/www/virtual/domain/phptmp which is defined in php.ini

.htaccess is used but does not use this section.

Code: Select all
<IfModule mod_php5.c>
php_value upload_max_filesize 512M
php_value post_max_size 512M
php_value memory_limit 512M


I use fcgid

ANy hints?
juerg
Newbie
 
Posts: 5
Joined: Tue Jan 31, 2012 2:14 pm

Re: .htaccess upload_max_filesize

Postby juerg » Sat Jul 21, 2012 3:06 pm

juerg
Newbie
 
Posts: 5
Joined: Tue Jan 31, 2012 2:14 pm

Re: .htaccess upload_max_filesize

Postby hellsy » Tue Jul 24, 2012 7:44 pm

I am experiencing a similar problem, where i cannot upload anything larger then 1.5GB. I monitor the uploading process, and i confirm that file uploads up to %100, then i get the following error "The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form".

On my .htaccess, i set the following limits:

php_value upload_max_filesize 2048M
php_value post_max_size 3096M
php_value max_file_uploads 120
php_value max_input_time -1
php_value max_execution_time 0
php_value memory_limit 128M

I increased memory limit up to 3-4GB [i only have 4GB memory], set max_execution_time as much as an hr [3600 seconds], set post_max_size to 9GB, set upload max_filesize to 4-5GB.. Whatever i do, i cannot upload a file that is larger then 1.5GB. I also set " MaxRequestLen 5180736000 " in my http.conf file. i am running out of ideas.. For the basic testing, i tried a 1.9GB file, and no dice..
hellsy
Starter
 
Posts: 78
Joined: Tue May 22, 2012 4:22 pm

Re: .htaccess upload_max_filesize

Postby hellsy » Thu Jul 26, 2012 4:09 pm

So it seems like i've overcome my problem. I've commented out upload_max_filesize and post_max_size from php.ini, and set them from .htaccess.. And i've set upload_max_filesize>post_max_Size . I can upload 4GB files now.
hellsy
Starter
 
Posts: 78
Joined: Tue May 22, 2012 4:22 pm

Re: .htaccess upload_max_filesize

Postby legetronic » Thu Aug 02, 2012 7:00 am

it didnt work for me idk why? could i have some more help?
legetronic
Newbie
 
Posts: 3
Joined: Thu Aug 02, 2012 5:53 am


Return to OwnCloud Community Edition 4.x and older

Who is online

Users browsing this forum: Bing [Bot] and 10 guests