php-fpm 旧城等待, 2022-06-10 23:16 120阅读 0赞 <table style="border-spacing:0px; border-collapse:collapse; color:rgb(36,41,46); font-size:14px"> <tbody style=""> <tr style=""> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#!</span> /bin/sh</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span>## BEGIN INIT INFO</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span> Provides: php-fpm</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span> Required-Start: $remote_fs $network</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span> Required-Stop: $remote_fs $network</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span> Default-Start: 2 3 4 5</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span> Default-Stop: 0 1 6</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span> Short-Description: starts php-fpm</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span> Description: starts the PHP FastCGI Process Manager daemon</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(106,115,125)"><span style="">#</span>## END INIT INFO</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> prefix=/usr/local/php7</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> exec_prefix=/usr/local/php7</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> php_fpm_BIN=/usr/local/php7/sbin/php-fpm</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> php_fpm_CONF=<span style="">${prefix}</span>/etc/php-fpm.conf</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> php_fpm_PID=<span style="">${prefix}</span>/var/run/php-fpm.pid</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> php_opts=<span style="color:rgb(3,47,98)"><span style="">"</span>--fpm-config <span style="color:rgb(36,41,46)">$php_fpm_CONF</span> --pid <span style="color:rgb(36,41,46)"> $php_fpm_PID</span><span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(111,66,193)">wait_for_pid</span> () { </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> try=0</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">while</span> <span style="color:rgb(0,92,197)"> test</span> <span style="">$try</span> -lt 35 <span style="color:rgb(215,58,73)"> ;</span> <span style="color:rgb(215,58,73)">do</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">case</span> <span style="color:rgb(3,47,98)"> <span style="">"</span><span style="color:rgb(36,41,46)">$1</span><span style="">"</span></span> <span style="color:rgb(215,58,73)">in</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(3,47,98)"><span style="">'</span>created<span style="">'</span></span>)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> -f</span> <span style="color:rgb(3,47,98)"><span style="">"</span><span style="color:rgb(36,41,46)">$2</span><span style="">"</span></span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> try=<span style="color:rgb(3,47,98)"><span style="">'</span><span style="">'</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">break</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(3,47,98)"><span style="">'</span>removed<span style="">'</span></span>)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> !</span> <span style="color:rgb(215,58,73)">-f</span> <span style="color:rgb(3,47,98)"> <span style="">"</span><span style="color:rgb(36,41,46)">$2</span><span style="">"</span></span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> try=<span style="color:rgb(3,47,98)"><span style="">'</span><span style="">'</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">break</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">esac</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> -n <span style="color:rgb(0,92,197)"> .</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> try=<span style="color:rgb(3,47,98)"><span style="">`</span>expr <span style="color:rgb(36,41,46)">$try</span> + 1<span style="">`</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> sleep 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">done</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> }</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">case</span> <span style="color:rgb(3,47,98)"> <span style="">"</span><span style="color:rgb(36,41,46)">$1</span><span style="">"</span></span> <span style="color:rgb(215,58,73)">in</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> start)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> -n <span style="color:rgb(3,47,98)"> <span style="">"</span>Starting php-fpm <span style=""> "</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> mkdir -p /var/run/php-fpm/</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="">$php_fpm_BIN</span> --daemonize <span style=""> $php_opts</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(3,47,98)"> <span style="">"</span><span style="color:rgb(36,41,46)">$?</span><span style="">"</span></span> <span style="color:rgb(215,58,73)">!=</span> 0 ] <span style="color:rgb(215,58,73)"> ;</span> <span style="color:rgb(215,58,73)">then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span> failed<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> wait_for_pid created <span style="">$php_fpm_PID</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> -n</span> <span style="color:rgb(3,47,98)"><span style="">"</span><span style="color:rgb(36,41,46)">$try</span><span style="">"</span></span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span> failed<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">else</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span> done<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> stop)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> -n <span style="color:rgb(3,47,98)"> <span style="">"</span>Gracefully shutting down php-fpm <span style=""> "</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> !</span> <span style="color:rgb(215,58,73)">-r</span> <span style=""> $php_fpm_PID</span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span>warning, no pid file found - php-fpm is not running ?<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">kill</span> -QUIT <span style="color:rgb(3,47,98)"> <span style="">`</span>cat <span style="color:rgb(36,41,46)"> $php_fpm_PID</span><span style="">`</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> wait_for_pid removed <span style="">$php_fpm_PID</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> -n</span> <span style="color:rgb(3,47,98)"><span style="">"</span><span style="color:rgb(36,41,46)">$try</span><span style="">"</span></span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span> failed. Use force-quit<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">else</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span> done<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> status)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> !</span> <span style="color:rgb(215,58,73)">-r</span> <span style=""> $php_fpm_PID</span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span>php-fpm is stopped<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 0</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> PID=<span style="color:rgb(3,47,98)"><span style="">`</span>cat <span style="color:rgb(36,41,46)">$php_fpm_PID</span><span style="">`</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> ps -p <span style=""> $PID</span> <span style="color:rgb(215,58,73)">|</span> grep -q <span style=""> $PID</span><span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span>php-fpm (pid <span style="color:rgb(36,41,46)"> $PID</span>) is running...<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">else</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span>php-fpm dead but pid file exists<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> force-quit)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> -n <span style="color:rgb(3,47,98)"> <span style="">"</span>Terminating php-fpm <span style=""> "</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> !</span> <span style="color:rgb(215,58,73)">-r</span> <span style=""> $php_fpm_PID</span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span>warning, no pid file found - php-fpm is not running ?<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">kill</span> -TERM <span style="color:rgb(3,47,98)"> <span style="">`</span>cat <span style="color:rgb(36,41,46)"> $php_fpm_PID</span><span style="">`</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> wait_for_pid removed <span style="">$php_fpm_PID</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> -n</span> <span style="color:rgb(3,47,98)"><span style="">"</span><span style="color:rgb(36,41,46)">$try</span><span style="">"</span></span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span> failed<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">else</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span> done<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> restart)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="">$0</span> stop</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="">$0</span> start</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> reload)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> -n <span style="color:rgb(3,47,98)"> <span style="">"</span>Reload service php-fpm <span style=""> "</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">if</span> [ <span style="color:rgb(215,58,73)"> !</span> <span style="color:rgb(215,58,73)">-r</span> <span style=""> $php_fpm_PID</span> ] <span style="color:rgb(215,58,73)">;</span> <span style="color:rgb(215,58,73)"> then</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span>warning, no pid file found - php-fpm is not running ?<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">fi</span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">kill</span> -USR2 <span style="color:rgb(3,47,98)"> <span style="">`</span>cat <span style="color:rgb(36,41,46)"> $php_fpm_PID</span><span style="">`</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span> done<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> configtest)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="">$php_fpm_BIN</span> -t</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">*</span>)</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">echo</span> <span style="color:rgb(3,47,98)"> <span style="">"</span>Usage: <span style="color:rgb(36,41,46)"> $0</span> {start|stop|force-quit|restart|reload|status|configtest}<span style="">"</span></span></td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(0,92,197)">exit</span> 1</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> ;;</td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> </td> </tr> <tr style=""> <td style="padding:0px 10px; width:50px; min-width:50px; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; line-height:20px; text-align:right; white-space:nowrap; vertical-align:top"> </td> <td style="padding:0px 10px; position:relative; line-height:20px; vertical-align:top; overflow:visible; font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace; word-wrap:normal; white-space:pre"> <span style="color:rgb(215,58,73)">esac</span></td> </tr> </tbody> </table> 文章来源:https://github.com/vfhky/mylnmp/blob/master/PHP/php-fpm
还没有评论,来说两句吧...