Solved
http upload-Grenze (php) von 15MB auf 128MB erhöhen
3 years ago
Hallo Forum,
eigentlich wollte ich kleine Bildschirmrecorder-Dateien im mp4-Format gerne per HTML-Formular in php uploaden, doch der Server hat ja die feste Grenze des temp-Bereichs von nur 15MB. Das ist leider zu wenig. Gäbe es eine Möglichkeit, diese auf 128MB zu erhöhen? Gerne auch die größere Bytezahl von meinen 200GB abziehen, denn es gibt über das http-Protokoll keine andere Möglichkeit des Uploads und FTP scheidet hier aus, da die mp4-Datei später in php automatisch weiterbearbeitet wird (Namensanpassung, Speicherort, etc.).
Mit freundlichem Gruß
BlueDragon
1163
21
This could help you too
9 days ago
60
0
4
5 years ago
239
0
2
You might also be interested in
Request purchasing advice
Fill out our online contact form quickly and easily so that we can advise you personally in a timely manner.
View offers
Informieren Sie sich über unsere aktuellen Website-Angebote.
Accepted Solution
accepted by
3 years ago
Hallo @Neele G. , @Nadine H. ,
ich habe das Problem in der Serverkonfiguration gefunden. Es betrifft somit nicht das Script. Hier nun die Lösung mit den nötigen Eintragungen:
/home/www/php.ini:
upload_tmp_dir = /home/www/temp upload_max_filesize=64M memory_limit=64M max_execution_time=0 max_input_time=0
upload_max_filesize=64M
memory_limit=64M
max_execution_time=0
max_input_time=0
/home/www/public_html/.user.ini:
memory_limit = 64M upload_max_filesize = 64M max_execution_time = 0
upload_max_filesize = 64M
max_execution_time = 0
Mit diesen Einstellungen funktioniert der Upload auch unter PHP8 bis 64M.
Bitte Eure Hilfedateien entsprechend angleichen.
Mit freundlichem Gruß
BlueDragon
0