Raise upload file limit on phpMyAdmin

I’m trying to raise max upload size for phpMyAdmin. I went to /etc/php/7.3 (version I am running)/fpm/php.ini and /etc/php/7.3/cli/php.ini I change it in both places and restarted apache, but it’s still 2MB…

You changed : upload_max_filesize and post_max_size?

1 Like

I now set post_max_size to 0 and still no change.

It still says phpMyAdmin - (Max: 2,048KiB)

phpMyAdmin doesn’t work with 0

Also please remind there are multiple PHP versions availble.

Make sure max_post_size is at least 20% higher then max_upload_size other wise you could have issues.

Also, phpmyadmin in hestia uses /etc/php/7.3/fpm/php.ini
Just for the reference

you can check loaded configuration file by creating info.php in /usr/share/phpmyadmin/ with following content:

<?php phpinfo(); ?>

and then you just visit yourip/phpmyadmin/info.php

Also post_max_size = 0 means it accepts post command up to unlimited the size the upload_max_filesize hasn’t been changed