I have Roundcube 1.6.5 running on Gentoo Linux. I'm using Apache 2.4.63 and php-8.2.28. When I try to upload a file >2MB, I get "The uploaded file exceeds the maximum size of 2.0 MB." and it refuses to load. My /etc/php/apache2-php8.2/php.ini contains the following lines:
upload_max_filesize = 64M
post_max_size = 64M
Every post that I have read have said that I need these two lines set to the max upload size, but I still get this error message.
Any clues?
1. Make sure you restart Apache after you made the change to the php.ini file.
2. Create a file (example info.php) in the Roundcube folder with the following:
<?php
phpinfo();
Then go to that file and search for "upload_max_filesize" and "post_max_size" to see what the setting actual is. The config files that are used to get to those settings are shown at the top of the page.
Thanks for the suggestions. No further ahead:
upload_max_filesize 64M 64M
post_max_size 64M 64M