---
name: "spawn-fcgi.lighttpd"
section: "1"
platform: "linux"
package: "lighttpd"
version: "1.4.19-5+lenny3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/spawn-fcgi.lighttpd"
---

# spawn-fcgi.lighttpd(1)

Spawns FastCGI processes

## NAME

spawn-fcgi - Spawns FastCGI processes

## SYNOPSIS

**spawn-fcgi** -f \<fcgiapp\> -a \<addr\> -p port **spawn-fcgi** -s \<path\>

## DESCRIPTION

*spawn-fcgi* is used to spawn remote FastCGI processes.

## OPTIONS

*spawn-fcgi* accepts the following options:

- **-h**

  General usage instructions

- **-f \<fcgiapp\>**

  Filename of the FastCGI application to spawn

- **-a \<addr\>**

  IP address to bind to (for TCP/IP-based IPC)

- **-p \<port\>**

  TCP port to bind to (for TCP/IP-based IPC)

- **-s \<path\>**

  Path to the Unix-domain socket to bind to (for Unix sockets-based IPC)

- **-C \<children\>**

  (PHP only) Number of children to spawn. Defaults to 5.

- **-F \<children\>**

  Number of children to fork. Defaults to 1.

- **-P \<path\>**

  Name of the PID file for spawned processes

- **-n**

  No forking should take place (for daemontools)

- **-v**

  Shows version information and exits

- **-c \<dir\>**

  Chroot to specified directory (can only be invoked by root)

- **-u**

  User ID to change to (can only be invoked by root)

- **-g**

  Group ID to change to (can only be invoked by root)

This program is a part of the Lighttpd web server, [*lighttpd*(1)](/lighttpd/1.md)

## AUTHOR

This manual page was written by Gunnar Wolf \<gwolf@debian.org\>, for the Debian GNU/linux system (but may be used by others).
