Modify the phpMyAdmin file upload limit

NOTE: The Approach A sections referred to below do not apply to Bitnami native installers. Users of Bitnami native installers should refer only to the Approach B sections.

To increase the allowed size for uploads, follow the steps below:

Approach A: Bitnami installations using system packages

Modify the following options in the php.ini file:


Approach B: Self-contained Bitnami installations

If the default NGINX Web server configuration limits are too low for the file sizes you plan to upload, you can also increase those limits in the installdir/nginx/conf/nginx.conf file, by setting the client_max_body_size parameter to a new value in MB, as shown below:

    http {
        client_max_body_size 16M;

If you are using PHP-FPM, modify the settings in the installdir/apps/phpmyadmin/conf/php-fpm/php-settings.conf file

Last modification June 16, 2021