I simply cannot get my new web.py app running from lighttpd. I had this problem earlier and wrote about it in a previous post and after some help I discovered my shebang-lines where wrong.
This time however the shebangs aren't off, and the error code is also not the same as before (when the shebang was off I got "child exited with status 2", now it's "child exited with status 127"), so I'm really at my wits end as to what the problem might be.
The application is the basic Hello World-example, it runs fine from the development server, the lighttpd user is the owner of the file and it is chmoded to be an executable.
Is there anyone with some insight into what these different status codes means, particularly 127?
//Adam
Error log output:
2012-08-23 14:52:15: (log.c.166) server started
2012-08-23 14:52:15: (mod_fastcgi.c.1111) If you're trying to run your app as a FastCGI backend, make sure you're using the FastCGI-enabled version.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2012-08-23 14:52:15: (mod_fastcgi.c.1399) [ERROR]: spawning fcgi failed.
2012-08-23 14:52:15: (server.c.938) Configuration of plugins failed. Going down.