The Movable Type Knowledge Base

Convert To Using The New Configuration File

Question

How can I convert from using mt.cfg to the new mt-config.cgi file in version 3.2?

Answer

  • Download your mt.cfg file in ASCII mode and open it in a plain text editor.

  • Open mt-config.cgi-original in the text editor also.

  • Note any existing settings which are uncommented1 in your mt.cfg file and make sure you duplicate them in mt-config.cgi-original.

  • If you're using MySQL, make sure this line is uncommented:
    DBPassword <database-password>
    and replace <database-password> with the value for your password from mt-db-pass.cgi.

  • Save mt-config.cgi-original and then upload it to your server in ASCII mode.

  • Rename the file as mt-config.cgi using your FTP or File Manager program. There is no need to set any permissions on this file, as it is not an actual CGI script.

  • Delete mt.cfg (and mt-db-pass.cgi, if applicable) from your server.

  • Movable Type should now use the new configuration file!
  • 1 To uncomment a setting means to remove the # from the beginning of the line where it appears.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.