Changing the upload limit: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==php== Upload limit is configured in the <code>php.ini</code> config file. To find it: $ php --ini To edit it: $ sudo nano /etc/php/7.4/cli/php.ini And the search for: * <code>upload_max_filesize</code> * <code>post_max_size</code> Then restart php: $ sudo service php7.4-fpm restart") |
No edit summary |
||
Line 15: | Line 15: | ||
* <code>upload_max_filesize</code> | * <code>upload_max_filesize</code> | ||
* <code>post_max_size</code> | * <code>post_max_size</code> | ||
and change the values. | |||
Then restart php: | Then restart php: | ||
$ sudo service php7.4-fpm restart | $ sudo service php7.4-fpm restart |
Revision as of 11:56, 16 June 2023
php
Upload limit is configured in the php.ini
config file.
To find it:
$ php --ini
To edit it:
$ sudo nano /etc/php/7.4/cli/php.ini
And the search for:
upload_max_filesize
post_max_size
and change the values.
Then restart php:
$ sudo service php7.4-fpm restart