linux  webserver  php

php.ini

Konfiguration der php.ini

php.ini editieren

sudo nano /etc/php/8.0/apache2/php.ini
sudo nano /etc/php/8.1/apache2/php.ini
sudo nano /etc/php/8.2/apache2/php.ini

Speicher erweitern

Strg+W "memory_limit"
memory_limit = 2048M
#Im 32Bit System kann keine 2GB zugiesen werden!

Datei Upload 

Strg+W "upload"
file_uploads = On
upload_max_filesize = 250M
max_file_uploads = 50

Strg+W "post_max_"
post_max_size = 250M

display_errors

; display_errors
;   Default Value: On
;   Development Value: On
;   Production Value: Off