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
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.


 [2014-10-07 23:22 UTC] stas@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=bb02fd5772070f00a7d26f2a64f34b55f6eea326
Log: Fixed bug #62216
 [2014-10-07 23:33 UTC] stas@php.net
Automatic comment on behalf of fat
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=bb02fd5772070f00a7d26f2a64f34b55f6eea326
Log: Fixed bug #62216
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC