Error 500 when I try to upload a bigger video

Hello,

I have a problem to upload big videos with flash uploader (by exemple a video of 40Mo). The uploader return me a 500 error. No problem with a video more little.

I have a dedicated server under Debian Squeeze and with ISPCONFIG 3 (PHP Version 5.3.3-7+squeeze8).

I have mod_security installed which is disabled in .htaccess 

 <IfModule mod_security.c>    
secfilterengine off    
 secfilterscanPOST off
</IfModule>

 

I edited php.ini

post_max_size = 256M
memory_limit = 1024M
max_execution_time = 1200
max_input_time = 1200
register_globals = Off 

This values are visible from phpinfo().

I see in this topic that an user have a similar issue and he solved it by changing the "TMP" folder location (because /tmp could have a size quota)

I create a new folder (/var/php_tmp) 

$ mkdir /var/php_tmp

and I defined it in php.ini

upload_tmp_dir = /var/php_tmp/

 

I have no error in /var/log/apache2/error.log at the moment where I got this error.

Same problem in /var/log/apache2/access.log 

I have an this line in /var/log/apache2/audit_log

www.mywebsite.com xx.xx.xx.xx - - [02/Mar/2012:15:54:37 +0100] "POST /m/videos/albums/my/add_objects/aleks2a/owner/m/videos/albums/my/add_objects HTTP/1.1" 500 731 "-" "-" T1DdZ8CoAS8AACYCMdYAAAAK "-" /20120302/20120302-1554/20120302-155437-T1DdZ8CoAS8AACYCMdYAAAAK 0 1813 md5:736ba1da95a9c0dd3d4ba6a03ff45646

I have always the error. Do you have an idea ?

Thank you.

Alex.
Quote · 2 Mar 2012

I remove mod security from the server and now I don't get an error 500 but Server (IO) Error ... Somebody had a similary issue ?

Alex.
Quote · 2 Mar 2012

I found the solution.

There is an additional step for user who are using FCGI.

Edit /etc/apache2/mods-available/fcgid.conf

and replace

MaxRequestLen 15728640

with

MaxRequestLen your_max_upload_value

Alex.
Quote · 2 Mar 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.