Req #54172 [PATCH]: Overriding the pid file location of php-fpm
Edit report at https://bugs.php.net/bug.php?id=54172&edit=1
ID: 54172
Patch added by: fat@php.net
Reported by: olemarkus at gentoo dot org
Summary: Overriding the pid file location of php-fpm
Status: Assigned
Type: Feature/Change Request
Package: FPM related
PHP Version: 5.3.5
Assigned To: fat
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: fpm-pid.v1.patch
Revision: 1309628366
URL: https://bugs.php.net/patch-display.php?bug=54172&patch=fpm-pid.v1.patch&revision=1309628366
Previous Comments:
------------------------------------------------------------------------
[2011-03-06 10:18:42] olemarkus at gentoo dot org
Description:
------------
After Gentoo added FPM support, one of the most-reported issues we have related to FPM is to make
sure the PID file location in the FPM configuration and the one in the init script match each other.
Currently we set a fixed pid location in the config file and the init script expects that this
config is not changed. If a user change the pid file location, the init script stops working. The
only alternative solution I have seen so far is to use to try to grep the pid location from the
config, but at least the attempt done by the dotdeb maintainer to do this did not work very well.
It would be nice if an argument could be added to the php-fpm binary allowing init-scripts to
specify the pid file location directly, overriding any location configured in the FPM configuration
file.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54172&edit=1
Thread (6 messages)