• Resolved benore

    (@benore)


    Despite make sure all my “upload” settings are correct in my .htaccess file … I get an HTTP ERROR on the multi-file upload and a 500 internal error on the single file browser upload when uploading a 100MB MP4 file.

    My .htaccess file looks like this:
    ————————————-
    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>
    php_value post_max_size 128M
    php_value upload_max_filesize 128M
    php_value memory_limit 128M
    php_value max_execution_time 1200
    php_value max_input_time 1200
    php_value session.gc_maxlifetime 1200

Viewing 10 replies - 1 through 10 (of 10 total)
  • innuvo

    (@innuvo)

    Can you upload it via FTP?

    Thread Starter benore

    (@benore)

    Yes, works fine via FTP. I just want to make this easy for other users via the uploader.

    innuvo

    (@innuvo)

    find your php.ini file and change the “upload_max_filesize” and “post_max_size” in that file, just do a search for them.

    change them to 500MB or something, should be good to go then

    If you can’t see that file, contact your host and ask them to change it for you, they should be able to do it ASAP

    Thread Starter benore

    (@benore)

    Yeah, they don’t do that sort of thing on shared hosting. They do allow you to change the value in the .htaccess file. Which according to the phpinfo() dump looks like it effectively changes it just fine. So that is not the issue.

    esmi

    (@esmi)

    The issue could be the php_value max_execution_time. I find that often causes problems when relying on http for uploading.

    Thread Starter benore

    (@benore)

    It’s at 1200 seconds … what would you suggest?

    esmi

    (@esmi)

    You could try doubling it to see if that helps but I suspect that setting at the server level may be over-riding anything you set via .htaccess. Most hosts do this in order to prevent any one site unfairly hogging system resources on shared servers.

    Would it be possible for you to host these files elsewhere and then embed them into your pages?

    Thread Starter benore

    (@benore)

    The host allows overwriting values via .htaccess. I am not sure double 20 minutes is necessary, since it only take 20 seconds to upload the file. Additionally, I can upload via FTP and host on the same server. The issue is not all my users are technically savvy and there should be no reason the uploader won’t upload. It’s got to be a setting or perhaps some error I can’t see. The debugger doesn’t seem to catch http errors.

    esmi

    (@esmi)

    Additionally, I can upload via FTP and host on the same server

    Ftp and http are two completely separate protocols that use different servers and have very different standard configurations. So being able to upload a large file using ftp has no bearing on whether you will also be allowed to upload the same file using http.

    Since this is a sever issue – not a WordPress one – perhaps you need to discuss these issues with your hosts? Ultimately, they are the only ones who can solve this problem.

    Thread Starter benore

    (@benore)

    Finally talked with my hosting provider. They found it was a limit to FCGI. They modified the server value FcgidMaxRequestLen to a larger value to accommodate.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘HTTP Error Uploading large (100MB) MP4 file’ is closed to new replies.