Nginx and Movable Type (Pro)

| 0 Comments | 0 TrackBacks
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 with 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/DBI.pm line 75 at /var/www/*/htdocs/mt/extlib/Data/ObjectDriver/Driver/BaseCache.pm 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.

No TrackBacks

TrackBack URL: http://www.sci-blog.com/mt/mt-tb.cgi/132

Leave a comment

Recent Entries

Particle filter and Rao Blackwellised particle filter
View imageAny improvements?Detection errors----------------------------- PF      = 0RBPF    = 0  Execution time  (seconds)------------------------- PF      = 6.4465RBPF    = 11.6923…
Pingfire 1.0.4 compatible with firefox 3.6
Updated version of pingfire extension. This is my fork with bit.ly supportScreenshot View imagepingfire.xpi…
Updated pingfire extension
Pingfire firefox extension compatible with 3.6.2 firefox. Usual disclaimer: I do it for my own use so no guarantee it…