unknown entry 'priority' in php-fpm.conf

Bug #66482 unknown entry 'priority' in php-fpm.conf
Submitted: 2014-01-14 02:33 UTC Modified: -
From: itxx00 at gmail dot com Assigned:
Status: Closed Package: FPM related
PHP Version: 5.4.24 OS: CentOS6.4 x64
Private report: No CVE-ID: None

 [2014-01-14 02:33 UTC] itxx00 at gmail dot com

Description:
------------
In php-fpm.conf pool definition, set the priority with a value:

1.add a poll definition in php-fpm.conf:
[TESTPOOL]
;prefix = /path/to/pools/$pool
user = www
group = www
listen = /dev/shm/TESTPOOL.sock
listen.backlog = 65535
listen.owner = daemon
listen.group = daemon
listen.mode = 0600
priority = -19
pm = ondemand
pm.max_children = 10

2.restart php-fpm:
 service php-fpm restart

will cause php-fpm init fail.



Expected result:
----------------
php-fpm can restart successfully.


Actual result:
--------------
/etc/init.d/php-fpm restart
Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?
Starting php-fpm [14-Jan-2014 10:27:51] ERROR: [/php54/etc/pool/testpool.conf:10] unknown entry 'priority'
[14-Jan-2014 10:27:51] ERROR: Unable to include /php54/etc/pool/testpool.conf from /php54/etc/php-fpm.conf at line 10
[14-Jan-2014 10:27:51] ERROR: failed to load configuration file '/php54/etc/php-fpm.conf'
[14-Jan-2014 10:27:51] ERROR: FPM initialization failed
 failed


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2014-04-14 00:33 UTC] stas@php.net

-Status: Open +Status: Closed