WritingApril 4, 20111 min read

Quick Tip: WP Import upload_max_filesize error

From the archive · Originally published on the old sagalbot.com, April 4, 2011.

Familiar with this error when trying to import WordPress XML files?
The uploaded file exceeds the upload_max_filesize directive in php.ini.
You need to adjust your php.ini configuration. Here’s how.

It was a quick fix for me. If your using MAMP, php.ini is located at MAMP/conf/php5.3/php.ini – open it up in a text editor. You need to find this line:

upload_max_filesize = 200 MB

And make the following change:

upload_max_filesize = 200M

That fixed it for me. Simple enough.

~/sagalbot49.3200° N 123.0724° W© 2026 Jeff Sagal