Actions
WikiStart¶
New Releases¶
- Release: spawn-fcgi 1.6.6
2025-03-01
(Tracker: spawn-fcgi 1.6.6) - Release: spawn-fcgi 1.6.5
2022-12-21
(Tracker: spawn-fcgi 1.6.5) - Release: spawn-fcgi 1.6.4
2014-06-05
(Tracker: spawn-fcgi 1.6.4) - Release: spawn-fcgi 1.6.3
2009-09-23
(Tracker: spawn-fcgi 1.6.3) - Release: spawn-fcgi 1.6.2
2009-04-18
(Tracker: spawn-fcgi 1.6.2) - Release: spawn-fcgi 1.6.1
2009-03-29
(Tracker: spawn-fcgi 1.6.1) - Release: spawn-fcgi 1.6.0
2009-02-28
(Tracker: spawn-fcgi 1.6.0)
Why you should use spawn-fcgi instead of something else¶
- Privilege separation without needing a suid-binary or running a server as root.
- Protect (unix) socket - only the webserver can connect to your backend (especially php can be vulnerable if untrusted users can connect)
- You can restart your web server and the FastCGI applications without restarting the others.
- You can run them in different chroot()s.
- Running your FastCGI applications doesn’t depend on the web server you are running, which allows for easier testing of/migration to other web servers.
- Actually you don't need spawn-fcgi if you have systemd - see systemd
Building¶
Usage¶
- Basic Ideas
- Example run scripts for daemontools or runit: source:/trunk/doc/
Known issues¶
- Windows: doesn't work with "native" (i.e. not cygwin) binaries.
See http://redmine.lighttpd.net/boards/2/topics/686 (http://redmine.lighttpd.net/attachments/727/spawn-fcgi-win32.c)
Pages in lighttpd wiki¶
- Example:fastcgiCentosInitScript
- ScriptsUbuntu
- HowToSetupFastCgiIndividualPermissions
- HowToSetupFastCgiIndividualPermissionsInitScript
- HowToRestartLocalBackendWithoutDowntime
- HowtoSpeedUpStatWithFastcgi
- Docs:ModFastCGI
Development¶
Updated by stbuehler 2 days ago · 23 revisions