PHPMyAdmin max upload size will not change, wrong php.ini file

First you have to change values in php.ini file as per your requirements.

post_max_size = 1024M 
upload_max_filesize = 1024M 
max_execution_time = 3600
max_input_time = 3600 
memory_limit = 1024M 

Note - Change these values carefully. These values will impact for all of your projects of that server.

Now, If all above solutions are not working, kindly check your phpmyadmin.conf file. If you are using WAMP so you can find the file in "C:\wamp64\alias".

You have to change below values.

Values already in file are -

  php_admin_value upload_max_filesize 128M
  php_admin_value post_max_size 128M
  php_admin_value max_execution_time 360
  php_admin_value max_input_time 360

Change above code to -

#  php_admin_value upload_max_filesize 128M
#  php_admin_value post_max_size 128M
#  php_admin_value max_execution_time 360
#  php_admin_value max_input_time 360

Now just restart your server, to work with changed values. :)


Put these in php.ini

upload_max_filesize = 10M
post_max_size = 10M

Or you can put these in .htaccess:

php_value upload_max_filesize 10M
php_value post_max_size 10M

Replace 10M with anything you want.

Extra: To find what php.ini is currently used, create a file in the web root, let's say info.php that contains <?php phpinfo();. Then access that file from your browser, and search for php.ini. This has to be done through the browser, from the command line you will see the php.ini used in cli.

When finished, restart Apache for the changes to take effect.