Import file size limit in PHPMyAdmin

Find the file called: php.ini on your server and follow below steps

With apache2 and php5 installed you need to make three changes in the php.ini file. First open the file for editing, e.g.:

Next, search for the post_max_size entry, and enter a larger number than the size of your database (15M in this case), for example:

Next edit the entry for

and give it a larger value than the one given to


Then ensure the value of

is smaller than


The order from biggest to smallest should be:

After saving the file, restart apache (e.g. sudo /etc/init.d/apache2 restart) and you are set.

Don’t forget to Restart Apache Services for changes to be applied.

4/5 - (1 vote)