Contao-Camp 2024
Ergebnis 1 bis 3 von 3

Thema: Problem with max file-size upload

  1. #1
    Contao-Nutzer
    Registriert seit
    01.06.2018.
    Beiträge
    104

    Standard Problem with max file-size upload

    Hi everybody,
    I tried to change the max file size upload in the backend. My customer wants 400MB and I set 450000000 bytes.
    The website is on All-inkl and on this server max is 200MB. I asked support for increasing and they told me that I can do this with htaccess file.
    I set the next value on the bottom of the htaccess file:
    Code:
    <IfModule mod_php7.c>
        php_value upload_max_filesize 400M
    </IfModule>
    Now, in PHP info I can see changes:
    php-info-max-file.png
    I tried to upload file 380MB, but I still have error: The file is too big. Max is 200 MB (or something like that)
    Should I change something more in Contao backend, or the problem is still with All-inkl ?
    Any suggestion will be very useful.
    Thank you

  2. #2
    Contao-Nutzer Avatar von BennyBorn
    Registriert seit
    10.06.2011.
    Ort
    Edenkoben
    Beiträge
    238
    Partner-ID
    6916

    Standard

    In addition to upload_max_filesize you'll also need to increase post_max_size since they're depending on eachother.

  3. #3
    Contao-Nutzer
    Registriert seit
    01.06.2018.
    Beiträge
    104

    Standard

    Zitat Zitat von BennyBorn Beitrag anzeigen
    In addition to upload_max_filesize you'll also need to increase post_max_size since they're depending on eachother.
    Hi,
    that's it
    Working with htaccess definitely isn't my better side.
    Thank you very much

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •