Prerelease of spawn-fcgi 1.6.0 (rc1-r16)
spawn-fcgi extracted into own project¶
There are several versions of spawn-fcgi (one in lighttpd 1.4.x, one in
1.5.x and one in cherokee), which makes packaging very hard (e.g.:
debian packages spawn-fcgi from lighty as “spawn-fcgi.lighttpd” - making
usage complicated as your scripts are probably just using
“spawn-fcgi”).
Additionally, keeping the sources and bug fixes synchronized is just too
much work (ok, the one in cherokee isn’t our problem :) ).
Therefore we decided to split spawn-fcgi into a new project which will
start with version 1.6.0 (and will be independent of lighttpd releases
or versions).
We plan to remove spawn-fcgi from lighttpd-1.4.x after the release of 1.4.22.
In case you would like to test a spawn-fcgi version with more features (options for chowning the socket), see here: https://git.stbuehler.de/stbuehler/spawn-fcgi2 (needs glib)
You can find the new project at https://redmine.lighttpd.net/projects/spawn-fcgi/wiki
Important changes¶
- Removed limits for
-C phpchildrenoption, which now justs setsPHP_FCGI_CHILDRENifphpchildren >= 0(default: ommited); php’s default isPHP_FCGI_CHILDREN = 0, which means that the master process is the worker process. (not the same asPHP_FCGI_CHILDREN = 1, which results in one master watching its child). Instead of using the-Coption you can now just set the environment var before invoking spawn-fcgi. - Modified the log messages format
Downloads¶
- https://download.lighttpd.net/spawn-fcgi/snapshots-1.6.x/spawn-fcgi-1.6.0rc1-r16.tar.gz
- MD5:
ff19abc92b74fd8c7099291aff0caa95 - SHA1: 883ccaeb9b`e21e0eda2f03b37e43795abf403845
- https://download.lighttpd.net/spawn-fcgi/snapshots-1.6.x/spawn-fcgi-1.6.0rc1-r16.tar.bz2
- MD5:
19099d04b133222329f1f6eed12b6398 - SHA1:
f6fb10a5c71a3d7b23889be614c5ecb232ce4563 - SHA1 checksums: https://download.lighttpd.net/spawn-fcgi/snapshots-1.6.x/spawn-fcgi-1.6.0rc1-r16.sha1sum
- MD5 checksums: https://download.lighttpd.net/spawn-fcgi/snapshots-1.6.x/spawn-fcgi-1.6.0rc1-r16.md5sum
Changes¶
- Separated spawn-fcgi from lighttpd
- Remove limits for php children; per default the
PHP_FCGI_CHILDRENvar is not changed (php defaults to no children, one worker) - Modified the log messages format (more details on errors, no source line)
- Only try to connect to unix socket (not tcp) before spawning (fixes again #1575)
- Only disconnect from terminal in fork mode (keep stderr/stdout open in nofork mode)
- Allow numerical user and group ids for -u/-g (fixes #1141)
- Ignore pid-file option in no-fork mode (instead of producing empty file)
- Fix error handling for unix-socket-connect test