Thread "upload size"

Tabs

  • Deleted
    Deleted | 27. Apr 2011, 14:37
    upload size

    Hello experts,

    we want to use movies with about 50M. When I try to upload them, it displays there is a maximum of 8M.

    I know about pph.ini.  I have changed upload_max_filesize=100M. I have restarted Apache.  php.info in administartion-> server Data displays the new size for upload_max_filesize, so I believe I have edited the right php.ini.

    But when I want to upload a movie in the repository, it still displays max filesize is 8M

    Is there another setting where the my file size is specified?

     

    Regards

     

    Karsten Meier

  • pascal.schmitt
    pascal.schmitt | pascal.schmitt (Moderation) | 27. Apr 2011, 14:50
    upload size

    Yes, there is an other one. You have to set

    post_max_size

    in php.ini to the same size as upload_max_filesize.

    Regards Pascal

  • Deleted
    Deleted | 27. Apr 2011, 15:52
    upload size
    Yes, thank you, now it works.
  • Deleted
    Deleted | 27. Apr 2011, 16:05
    upload size

    Sometimes it is also necessary to increase max_execution_time (default 60 seconds) to a higher value.

    And you have to take in account the session time out in client.ini.php in the <clientid>/data directory.

    [session]
    expire = "1800"

    If the file takes longer to upload than the specified session timeout the upload will be interrupted because of the time out.
    I guess that if you open another tab to ILIAS in your browser and refresh your screen every now and then, no time out will occur.

  • Stefanie_Falck
    Stefanie_Falck | Stefanie_Falck | 21. Jan 2021, 10:04
    Re: upload size
    Hello,

    we have the same problem here in Leipzig. We changed the two postitions but it doesn't work. When I create an upload question I still can upload a file till 2 MB.

    Does someone else know an other way to solve this problem?

    Thanks and regards Steffi
  • Deleted
    Deleted | 21. Jan 2021, 17:21
    Re (2): upload size
    Welche Einträge stehen genau in der php.ini? Bei 
    upload_max_filesize
    post_max_size

    Apache neu gestartet? 

    Was steht in Ilias unter einem Dateiupload-Feld als maximal erlaubte Upload-Größe?
  • Stefanie_Falck
    Stefanie_Falck | Stefanie_Falck | 22. Jan 2021, 09:31
    Re: Re (2): upload size
    Apache ist neu gestartet.

    Bei Erstellung der Frage kann man "Maximalwert: 2097152" Byte eingeben, sprich 2 MB.
    In den Einträgen in der php sind überall 4 GB eingetragen.
  • Deleted
    Deleted | 22. Jan 2021, 11:43
    Re (2): Re (2): upload size
    Wie sind die 4GB angegeben? Wenn "4GB" oder "4000MB" definiert wurde, wird das nicht greifen. Erlaubte Abkürzungen sind K, M und G - oder die Byteangabe. 

    Du könntest auch die Apache-Errorlogs prüfen, ob sich dort Hinweise auf Fehler in der php.ini finden lassen.

  • Stefanie_Falck
    Stefanie_Falck | Stefanie_Falck | 22. Jan 2021, 13:19
    Re: Re (2): Re (2): upload size
    Steht immer auf 4G.
  • Deleted
    Deleted | 22. Jan 2021, 15:56
    Re (2): Re (2): Re (2): upload size
    Was steht in Ilias unter Administration - Allgemeine Einstellungen - Server im Feld der phpinfo?
    Pfad zur php.ini
    Loaded Configuration File
    post_max_size
    upload_max_filesize