WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to import my site using the WordPress import XML page. My XML file is 7mb so when I try to import it I receive a "500 Internal Server Error" page.

I read some other posts and tried using the "WordPress WXR File splitter" and tried to split the files into files only 300kb each. Tried to import again and still receive the 500 error page.

I am on a VPS server so can change settings if required. Where would I find the error log to view what is going on and do I need to change any server settings to get WordPress to import my XML file.


share|improve this question

This is really more of a server admin question than Wordpress. Error logs and php.ini file locations can vary depending on the server OS.

You need to change the upload and timeout limits for php. Do that either in the main php.ini file or enable php.ini in your web directory and try:

max_execution_time = 120
max_input_time = 120
memory_limit = 128M
post_max_size = 10M
upload_max_filesize = 10M
share|improve this answer
Thank you for the answer. Much appreciated. – Jason Aug 20 '12 at 9:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.