Actions
Bug #1075
closedtrying to run lighttpd on windows. throws following error.
Status:
Invalid
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:
Description
C:\RocDemo\trunk\client>c:\lighttpd\sbin\lighttpd.exe -f lighttpd.conf
C:\RocDemo\trunk\client>2007-02-07 14:53:01: (mod_fastcgi.c.989) execve failed for: C:\RocDemo\trunk\client\public\dispatch.fcgi No such file or directory 2007-02-07 14:53:01: (mod_fastcgi.c.1015) the fastcgi-backend C:\RocDemo\trunk\client\public\dispatch.fcgi failed to start: 2007-02-07 14:53:01: (mod_fastcgi.c.1019) child exited with status 2 C:\RocDemo\trunk\client\public\dispatch.fcgi 2007-02-07 14:53:01: (mod_fastcgi.c.1022) if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version. You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli) For more information check http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program 2007-02-07 14:53:01: (mod_fastcgi.c.1027) If this is PHP on Gentoo add fastcgi to the USE flags 2007-02-07 14:53:01: (mod_fastcgi.c.1314) [ERROR]: spawning fcgi failed. 2007-02-07 14:53:01: (server.c.702) Configuration of plugins failed. Going down.
lighttpd.conf
server.port = 3000 server.bind = "172.16.14.38" # server.event-handler = "freebsd-kqueue" # needed on OS X server.modules = ( "mod_rewrite", "mod_fastcgi" ) url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" ) server.error-handler-404 = "C:\RocDemo\trunk\client\public\dispatch.fcgi" server.document-root = "C:\RocDemo\trunk\client\public" server.errorlog = "C:\RocDemo\trunk\client\log\server.log" static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" ) fastcgi.server = ( ".fcgi" => ( "172.16.14.38" => ( "min-procs" => 3, "max-procs" => 6, "socket" => "C:\RocDemo\trunk\client\application.fcgi.socket", "bin-path" => "C:\RocDemo\trunk\client\public\dispatch.fcgi", "bin-environment" => ( "RAILS_ENV" => "development" ) ) ) )
-- vinay.rajpurohit
Updated by Anonymous about 18 years ago
Its version 1.4.9 and not 1.4.13.
-- vinay.rajpurohit
Updated by stbuehler almost 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
"C:\RocDemo\trunk\client\public\dispatch.fcgi No such file or directory"
Actions
Also available in: Atom