500 Error During Movable Type Installation

I followed the official instructions to install Movable Type 4 on this host, but the 500 error page appeared every time I clicked the “begin” button. Besides, the mt-check.cgi script generated an incomplete HTML output – it’s terminated at some point.

The log of the 500 error:

… Out of memory!, referer: http://example.com/cgi-bin/mt/mt-wizard.cgi
… Callback called exit at mt-wizard.cgi line 11., referer: http://example.com/cgi-bin/mt/mt-wizard.cgi
… END failed–call queue aborted at mt-wizard.cgi line 1., referer: http://example.com/cgi-bin/mt/mt-wizard.cgi
… Callback called exit at mt-wizard.cgi line 1., referer: http://example.com/cgi-bin/mt/mt-wizard.cgi
… BEGIN failed–compilation aborted at mt-wizard.cgi line 11., referer: http://example.com/cgi-bin/mt/mt-wizard.cgi
… Premature end of script headers: mt-wizard.cgi, referer: http://example.com/cgi-bin/mt/mt-wizard.cgi

I read through the troubleshooting doc of Movable Type but it seems not to be any of the problems listed there. When I searched for “Premature end of script headers: mt-wizard.cgi“, there’re no answers in English results.

I asked the support of this hosting company but at first they said it must be the problem of the script. Oh I’m using the stable release of MT4 and it’s used widely across the world. I wouldn’t believe it.

Then suddenly I received a message from root in the secure shell:

Please try to do your installation again.
We have identified a problem which has been corrected.

Yes, it worked like a charm. Soon I received a the problem description from support:

The problem appears to be related to memory limitation set in the apache configuration. This Apache limitation has been removed and memory is now controlled via PHP.

There’re quite a lot people stuck by this error when trying to start the Movable Type tour as I see. Most people don’t believe that the memory out error is true but indeed it is in my case. Hope this helps someone.


  1. I have tried installing this also. But I get stuck right after mt-wizard.cgi. The first step when it asks for path of mt-static, I get a black page after that.
    I don’t know whats wrong. I use netfirms.

  2. I’m getting this same behavior.. 500 errors on mt-wizard.cgi after I click the ‘Begin’ button. I’m using 1and1 hosting, and they don’t provide access to the error log, unfortunately. Searching google for “1and1 movable type” turns up some other people with the same or similar problems, but the proposed fixes don’t seem to work for me. Does anyone ahve any advice?

  3. This kind of issues occur only with hosting providers not sharing enough resources for movable type to run correctly.

    While error 500 issues, could occur also if the file permission for .CGI files is not set to 755, the “Premature end of script headers” error suggests the issue is with the server performance.

    1and1 is a terrible hosting platform and is well known for this problem.

    I would recommend Pair Networks, Inc. and I could also give you a hand to get hosted there, if you need help.

    On the other hand, you may like to know that you could evaluate movable type online, absolutely free at: http://www.movabletypedemo.org/

Leave a comment

Your email address will not be published. Required fields are marked *

Prove your intelligence before hitting * Time limit is exhausted. Please reload CAPTCHA.