version 1.1, 2012/02/21 23:48:06
|
version 1.1.1.2, 2013/07/22 01:32:13
|
Line 99 Test FPM configuration file and exit
|
Line 99 Test FPM configuration file and exit
|
If called twice (-tt), the configuration is dumped before exiting. |
If called twice (-tt), the configuration is dumped before exiting. |
.TP |
.TP |
.PD 0 |
.PD 0 |
|
.B \-\-daemonize |
|
.TP |
|
.PD 1 |
|
.B \-D |
|
Force to run in background and ignore daemonize option from configuration file. |
|
.TP |
|
.PD 0 |
|
.B \-\-nodaemonize |
|
.TP |
|
.PD 1 |
|
.B \-F |
|
Force to stay in foreground and ignore daemonize option from configuration file. |
|
.TP |
|
.PD 0 |
.B \-\-zend\-extension \fIfile\fP |
.B \-\-zend\-extension \fIfile\fP |
.TP |
.TP |
.PD 1 |
.PD 1 |
Line 113 The configuration file for the php-fpm daemon.
|
Line 127 The configuration file for the php-fpm daemon.
|
.B php.ini |
.B php.ini |
The standard php configuration file. |
The standard php configuration file. |
.SH EXAMPLES |
.SH EXAMPLES |
You should use the init script provided to start and stop the php-fpm daemon. This situation applies for any unix systems which use init.d for their main process manager. | For any unix systems which use init.d for their main process manager, you should use the init script provided to start and stop the php-fpm daemon. |
.P |
.P |
.PD 1 |
.PD 1 |
.RS |
.RS |
sudo /etc/init.d/php-fpm start |
sudo /etc/init.d/php-fpm start |
|
.RE |
|
.TP |
|
For any unix systems which use systemd for their main process manager, you should use the unit file provided to start and stop the php-fpm daemon. |
|
.P |
|
.PD 1 |
|
.RS |
|
sudo systemctl start php-fpm.service |
.RE |
.RE |
.TP |
.TP |
If your installation has no appropriate init script, launch php-fpm with no arguments. It will launch as a daemon (background process) by default. The file @php_fpm_localstatedir@/run/php-fpm.pid determines whether php-fpm is already up and running. Once started, php-fpm then responds to several POSIX signals: |
If your installation has no appropriate init script, launch php-fpm with no arguments. It will launch as a daemon (background process) by default. The file @php_fpm_localstatedir@/run/php-fpm.pid determines whether php-fpm is already up and running. Once started, php-fpm then responds to several POSIX signals: |