
When setting up a local WordPress environment on Zorin OS using Apache, MariDB, and PHP 8.5, you may encounter a Site Health warning stating, "The value of 'post_max_size' is smaller than the value of 'upload_max_filesize'".

No matter how much I changed the settings in the php.ini file located at /etc/php/8.5/cli/, the problem would not go away.
However, the issue was resolved after modifying the php.ini file in /etc/php/8.5/apache2/.
sudo gedit /etc/php/8.5/apache2/php.ini
upload_max_filesize = 40M
post_max_size = 32M
I left `upload_max_filesize` as is, but changed
I increased `post_max_size` to 64M
and saved the file.
Restart Apache.
sudo service apache2 restart

This resolves the issue with post_max_size and upload_max_filesize.
The issue with `post_max_size` and `upload_max_filesize` is not
/etc/php/8.5/cli/php.ini
but
/etc/php/8.5/apache2/php.ini
.
If you’d like, please show your support.