Changing PHP upload size
If you need to change the accepted upload size in Snipe-IT, you will need to modify your php.ini
file in two places:
; Maximum allowed size for uploaded files.
upload_max_filesize = 25M
; Must be greater than or equal to upload_max_filesize
post_max_size = 30M
Then restart your web server for the changes to take effect.
If you're not seeing those changes reflected, make sure you are:
- Editing the right
php.ini
file. (This seems obvious, but many servers have several versions of PHP installed, and it's easy to accidentally edit the wrong one.) - Restarting the web server after making changes to the ini file.
If upload_max_size
is set to 0
, PHP will consider that to mean unlimited, however that does not guarantee that the server can properly handle very large uploads without exhausting memory.
Updated 16 days ago