php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62216 Add PID to php-fpm init.d script
Submitted: 2012-06-03 16:20 UTC Modified: 2012-09-28 09:26 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: jasmin_z at hotmail dot com Assigned: fat
Status: Closed Package: FPM related
PHP Version: 5.4.3 OS: Debian 6
Private report: No CVE-ID:
 [2012-06-03 16:20 UTC] 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!


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-04 10:39 UTC] fat@php.net
-Status: Open +Status: Analyzed -Assigned To: +Assigned To: fat
 [2012-09-28 09:23 UTC] 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-09-28 09:23 UTC] fat@php.net
-Status: Analyzed +Status: Closed
 [2012-09-28 09:26 UTC] fat@php.net
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.


 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 25 07:02:14 2014 UTC