From: Operating system: PHP version: 5.3.5 Package: FPM related Bug Type: Feature/Change Request Bug description:Overriding the pid file location of php-fpm
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 bug report at http://bugs.php.net/bug.php?id=54172&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54172&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54172&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54172&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54172&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54172&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54172&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54172&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54172&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54172&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54172&r=support Expected behavior: http://bugs.php.net/fix.php?id=54172&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54172&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54172&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54172&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54172&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54172&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54172&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54172&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54172&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54172&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54172&r=mysqlcfg