Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

Thanks.

share|improve this question

1 Answer 1

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

 
discard

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.