PHP is a widely-used general-purpose scripting language that is especially suited for
Web development and can be embedded into HTML. This is a variant of PHP that will run in the background as a daemon, listening for CGI requests. Output is logged to /var/log/php-fpm.log.
Most options are set in the configuration file. The configuration file is /etc/php-fpm.conf. By default, php-fpm will respond to CGI requests listening on localhost http port 9000. Therefore php-fpm expects your webserver to forward all requests for '.php' files to port 9000 and you should edit your webserver configuration file appropriately.
Do not chdir to the script's directory
file in the directory
or use the specified
file will be used
Define INI entry
Generate extended information for debugger/profiler
PHP information and configuration
Show compiled in modules
Specify alternative prefix path (the default is /usr)
Specify alternative path to FastCGI process manager configuration file (the default is /etc/php-fpm.conf)
Test FPM configuration file and exit
If called twice (-tt), the configuration is dumped before exiting.
Load Zend extension
The configuration file for the php-fpm daemon.
The standard php configuration file.
Once started, php-fpm then responds to several POSIX signals:
SIGINT,SIGTERM immediate termination
SIGQUIT graceful stop
SIGUSR1 re-open log file
SIGUSR2 graceful reload of all workers + reload of fpm conf/binary