Date Sat 15 August 2009 Tags blog / web

For those who would like to play heroes and who are trying to run Movable Type under nginx in cgi mode, additional fastcgi parameters in nginx: ''' fastcgi_param    PERL5LIB $document_root/mt/lib;    fastcgi_param    MT_HOME $document_root/mt;    fastcgi_param    MT_CONFIG $document_root/mt/mt-config.cgi; '''

the rest can be taken from here with cgi wrapper. With this additional parameters mt-check will be successful, but in my case it failed with:

'''Can't connect to data source '' because I can't work out what driver to use (it doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not set) at /var/www//htdocs/mt/extlib/Data/ObjectDriver/Driver/ line 75 at /var/www//htdocs/mt/extlib/Data/ObjectDriver/Driver/ line 320 '''

Since I don't know whom to blame for this error and can't fix it on spot, I will leave MT under apache for now.

For those interested in runing MT under lighttpd, this tutorial makes much more sense, then official doc, and it's closer to my previous blog install.


comments powered by Disqus