summaryrefslogtreecommitdiff
path: root/debian/patches/php-fpm-man-section-and-cleanup.patch
blob: c271b4eef0dd0042a745a0f1714cd43db049ceda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Description: Fix php-fpm's manpage section to match location of binary
 (/usr/sbin,) additionally, remove some stuff that is useless or
 doesn't apply to Debian.
Origin: vendor
Forwarded: http://bugs.php.net/52476
Last-Update: 2010-07-29

--- php5.orig/sapi/fpm/php-fpm.8.in
+++ php5/sapi/fpm/php-fpm.8.in
@@ -139,22 +139,8 @@ The configuration file for the php-fpm d
 .TP
 .B php.ini
 The standard php configuration file.
-.SH EXAMPLES
-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
-.PD 1
-.RS
-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
-.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:
+.SH SIGNAL
+Once started, php-fpm then responds to several POSIX signals:
 .P
 .PD 0
 .RS
@@ -168,10 +154,6 @@ If your installation has no appropriate
 .RE
 .PD 1
 .P
-.SH TIPS
-The PHP-FPM CGI daemon will work well with most popular webservers, including Apache2, lighttpd and nginx.
-.PD 1
-.P
 .SH SEE ALSO
 The PHP-FPM website:
 .PD 0