[Writing](/writing)April 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:

```apache
upload_max_filesize = 200 MB

```

And make the following change:

```apache
upload_max_filesize = 200M

```

That fixed it for me. Simple enough.

[← Previous postAcidjac Logo](https://sagalbot.com/posts/acidjac-logo)[Next post →HondaModder](https://sagalbot.com/posts/hondamodder)[← All writing](/writing)
