• Hi,

    I’ve an installation where i’ve an upload problem.

    When i try to upload a picture in media library : ok, no problem.
    When i try to upload a pdf file : i’ve a “http error” but pdf file, when i refresh, is uploaded.
    When i try to upload a mp4 file : i’ve a “http error” and file is not uploaded.

    I’m under php7.0.12, with :

    Php settings :

    • memory_limit 4048M (Default)
    • max_execution_time 600 (Default)
    • max_input_time 600 (Default)
    • post_max_size 1024M (Default)
    • upload_max_filesize 1024M (Default)
    • opcache.enable

    Include this in Additional directives for HTTP & HTTPS :
    <IfModule mod_fcgid.c>
    FcgidMaxRequestLen 1073741824
    FcgidMaxRequestsPerProcess 100
    FcgidProcessLifeTime 7200
    </IfModule>

    And .htaccess of domain :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /cassb/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /cassb/index.php [L]
    </IfModule>

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    SetEnv MAGICK_THREAD_LIMIT 1

    # END WordPress

    Thx for your help…

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘HTTP error when upload file (mp4)’ is closed to new replies.