Req #62216 [Csd]: Add PID to php-fpm init.d script
| From: | fat@php.net | Date: | Fri, 28 Sep 2012 09:26:07 +0000 |
| Subject: | Req #62216 [Csd]: Add PID to php-fpm init.d script | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173769@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62216&edit=1
ID: 62216
Updated by: fat@php.net
Reported by: jasmin_z at hotmail dot com
Summary: Add PID to php-fpm init.d script
Status: Closed
Type: Feature/Change Request
Package: FPM related
Operating System: Debian 6
PHP Version: 5.4.3
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2012-09-28 09:23:53] fat@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bb02fd5772070f00a7d26f2a64f34b55f6eea326
Log: Fixed bug #62216
------------------------------------------------------------------------
[2012-06-03 16:20:28] jasmin_z at hotmail dot com
Description:
------------
sapi/fpm/init.d.php-fpm file provided with current PHP build used for init.d
script in Debian is missing PID option causing init script to look as it failed:
# /etc/init.d/php-fpm start
Starting php-fpm ................................... failed
Replacing following line in php-fpm init.d file:
php_opts="--fpm-config $php_fpm_CONF"
to:
php_opts="--fpm-config $php_fpm_CONF --pid $php_fpm_PID"
fixes the issue!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62216&edit=1