edit php.ini
nano /etc/php/8.1/apache2/php.ini
post_max_size 16M upload_max_filesize 16M
Resources :
https://wordpress.org/support/topic/how-to-increase-file-upload-more-than-2mb https://wordpress.org/support/topic/how-to-import-more-than-2-mb-in-wordpress-1