Req #62216 [NEW]: Add PID to php-fpm init.d script

From: Date: Sun, 03 Jun 2012 16:20:28 +0000
Subject: Req #62216 [NEW]: Add PID to php-fpm init.d script
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-170999@lists.php.net to get a copy of this message
From:             jasmin_z at hotmail dot com
Operating system: Debian 6
PHP version:      5.4.3
Package:          FPM related
Bug Type:         Feature/Change Request
Bug description:Add PID to php-fpm init.d script

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!


-- 
Edit bug report at https://bugs.php.net/bug.php?id=62216&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=62216&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=62216&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=62216&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=62216&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62216&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=62216&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=62216&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=62216&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=62216&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=62216&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=62216&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=62216&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=62216&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=62216&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=62216&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=62216&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=62216&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=62216&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=62216&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=62216&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=62216&r=mysqlcfg



Thread (4 messages)

« previous php.bugs (#170999) next »