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 (profile)
Status: Closed Package: FPM related
PHP Version: 5.4.3 OS: Debian 6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jasmin_z at hotmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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
-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-2026 The PHP Group
All rights reserved.
Last updated: Fri Aug 21 10:00:01 2026 UTC