Patrick Beeson

Faster Movable Type with FastCGI

Entry updated Feb. 15, 2008 at 8:45 a.m.

One of my biggest complaints with Movable Type was how slow the admin could be at times. And it always seemed slower on my Mac for some reason.

Solution: I configured my Dreamhost account to run FastCGI and altered my Movable Type install (MT4 Beta 4) accordingly. It's like a sports car now!

I'm not sure if this is the Six Apart-approved way, but here's how I did it (works with Dreamhost and Movable Type 3.34 to 4b4):

  • Go into your Dreamhost account admin

  • Click "domains" in the left-hand nav, and then select "manage domains"

  • Find the domain you are running Movable Type on, and click "edit"

  • Make sure the check-box for FastCGI is checked, and save the setting

  • Give it a few minutes to configure

  • Open your FTP client and go to your Movable Type directory

  • Add the following lines to your "mt-config.cgi" file:

    AdminScript mt.fcgi CommentScript mt-comments.fcgi TrackbackScript mt-tb.fcgi SearchScript mt-search.fcgi ViewScript mt-view.fcgi XMLRPCScript mt-xmlrpc.fcgi AtomScript mt-atom.fcgi UpgradeScript mt-upgrade.fcgi ActivityFeedScript mt-feed.fcgi LaunchBackgroundTasks 0

  • Change the file extensions on the files you referenced to ".fcgi" (don't change it for "mt-config.cgi")

  • Open up the index.html file in your Movable Type folder, and change the link to "mt.cgi" to "mt.fcgi"

You should also ensure your permissions remain at 755 for your .fcgi files.

That's pretty much it. I've also read that pre-MT4 users can download a souped up Bootstrapper file and/or add a few lines to their .htaccess file.

I didn't have to do this for FastCGI to work. And the .htaccess change threw 500 errors.

If you're running Movable Type on Dreamhost, you really should give FastCGI a shot. And then download MT4 -- I sense great things for the once-king of blogging CMS!

*NOTE: If you don't have Dreamhost, but want to use FastCGI, try this documentation from Six Apart.*

Three comments

  • Dude, you are my hero. My MT install has been slow for years until tonight.

  • @sixfoot6

    Glad I could help!

  • Thank you these are best instructions I've seen.

    However http://wirelessandmobilenews.com has tons of entries.

    I think I did everything right and bam 500 Internal Server errors all over the place.

    I'm praying to the Moveable Type Gods.

Comments no longer accepted for this entry.

To prevent spam, comments are no longer allowed after 60 days.

Entry details

Advertisement

Note about ads

You may report questionable or offensive ads by using the contact form.

Author details

Patrick Beeson

Want to learn more? Visit my about section or send me a message.

Latest photo on Flickr

Patrick Beeson posted a photo:

TVH Feb. Brewout

Dennis and Jason talk beer at the Feb. TVH brewout.

Colophon and copyright

Copyright © 2010 Patrick Beeson. All rights reserved.

This site is published using Django, and hosted by WebFaction and Amazon S3.