How to change phpMyAdmin post_max_size to more than 2MB

Re: Unable to increase upload limit for phpMyAdmin in Plesk

To change the post_max_size in Plesk it is not as simple as changing the /etc/php.ini file entries as there are not active when running phpMyAdmin from within with Plesk Control Panel.

Usually, on a regular *nix installation you would look for these values in /etc/php.ini

  • phpMyAdmin logoupload_max_filesize
  • phpMyAdmin logo

What you need to change in fact is this file:

# vi  /usr/local/psa/admin/conf/php.ini

change:

  • upload_max_filesize = 2147483647
  • post_max_size = 2147483647

to:

  • upload_max_filesize = 32M
  • post_max_size = 32M

This value will now allow phpMyAdmin uploads of files up to 32M is size. Enter your own value here.

Was this helpful?
How to change phpMyAdmin post_max_size to more than 2MB written by UKC average rating 3.3/5 - 6 user ratings