Ich habe ein paar Seiten, die Dateien in eine Datenbank hochladen. Ich war auf PHP 8.3, musste mich aber für Imagick auf PHP 8.2 herabstufen. Bevor ich bis zu 64 MB Dateien laden konnte.echo $_FILES['userfile']['error']
< /code>
2
< /code>
This means MAX_FILE_SIZE has been exceeded (see UPLOAD_ERR_FORM_SIZE< /code> In PHP -Datei -Upload -Konstanten)
.
Ich habe in meinem Skript nicht max_file_size festgelegt.php_value post_max_size 128M
php_value upload_max_filesize 128M
php_value memory_limit = 128M
< /code>
I don't have an .htaccess file and the phpinfo() shows the same values as the php.ini plus the same path as the php.ini file I changed.
I have been at this for 2 days but to no avail and all answers come back to setting the values in PHP.ini, restart the services and check other files so the values are not overwritten. Still I can't get it to work. Any guru vibes are welcome.
Datei hochladen PHP 8.2.27 lädt Dateien nicht über 1 MB ⇐ Php
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Warum lädt Stockfish kleine 6-MB-Dateien anstelle einer normalen großen Datei?
by Anonymous » » in Python - 0 Replies
- 21 Views
-
Last post by Anonymous
-
Mobile version