phpMyAdmin File Limit

I’m trying to import a 151 MB database into phpMyAdmin and am getting the error “You probably tried to upload a file that is too large. Please refer to documentation for a workaround for this limit.”

I’ve already edited php.ini with values of upload_max_filesize, memory_limit and post_max_size that more than accommodate this file. Is there anything else I can do to troubleshoot?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Site Moderator
Site Moderator badge
May 21, 2020
Accepted Answer

Hello, @alexanderCrab

Could you please confirm that the upload_max_filesize change has taken effect? What you can do is to create an info.php file and then check the value. You can create a file named info.php (the name doesn’t really matter) and put the following content in the file:



Then all you need to do is to access the file in your browser and you’ll see all the information about the php extensions and values as well.

I will recommend you to set the following limits in the php.ini file

max_input_time = 259200
memory_limit = 512M // or more if needed
upload_max_filesize = 512M
post_max_size = 512M

Keep in mind that you might need to restart your web server - Apache or Nginx in order the changes to take effect.

Let me know how it goes.

Regards, Alex

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.