php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #68570
Patch php-5.4-fpm-add_PHP_FPM_OPTS_to_sysconfig revision 2014-12-09 04:35 UTC by guy dot paddock at redbottledesign dot com

Patch php-5.4-fpm-add_PHP_FPM_OPTS_to_sysconfig for FPM related Bug #68570

Patch version 2014-12-09 04:35 UTC

Return to Bug #68570 | Download this patch
Patch Revisions:

Developer: guy.paddock@redbottledesign.com

--- /etc/init.d/php-fpm.bak     2014-12-08 23:13:14.104020403 -0500
+++ /etc/init.d/php-fpm 2014-12-08 23:12:36.937236077 -0500
@@ -34,7 +34,7 @@
        echo -n $"Starting $prog: "
        dir=$(dirname ${pidfile})
        [ -d $dir ] || mkdir $dir
-       daemon --pidfile ${pidfile} php-fpm --daemonize
+       daemon --pidfile ${pidfile} php-fpm --daemonize ${PHP_FPM_OPTS}
        RETVAL=$?
        echo
        [ $RETVAL -eq 0 ] && touch ${lockfile}
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jun 24 05:01:24 2021 UTC