php.ini

Moderator: frogmaker

Awatar użytkownika
jurek
Administrator
Administrator
Posty: 104
Rejestracja: 17 maja 2009, 15:48
Lokalizacja: Piast

php.ini

Post autor: jurek »

>> php --ini


/etc/php/7.4/cli/apache ?

8388608 bytes is 8M, the default limit in PHP. Update your post_max_size in php.ini to a larger value.

upload_max_filesize sets the max file size that a user can upload while post_max_size sets the maximum amount of data that can be sent via a POST in a form.

So you can set upload_max_filesize to 1 meg, which will mean that the biggest single file a user can upload is 1 megabyte, but they could upload 5 of them at once if the post_max_size was set to 5.

Changes will take effect after a restart of the server.
ODPOWIEDZ