|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53506 Error in fpm_conf_set_integer
Submitted: 2010-12-09 13:40 UTC Modified: 2010-12-09 18:41 UTC
From: d dot hagen at mittwald dot de Assigned: fat (profile)
Status: Closed Package: FPM related
PHP Version: 5.3.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
46 - 5 = ?
Subscribe to this entry?

 [2010-12-09 13:40 UTC] d dot hagen at mittwald dot de
The following configuration directive 

pm.max_children = 15[:space:]

fails with  "unable to parse value for entry 'pm.max_children':  is not a valid number (greater or equal than zero)". The [:space:] causes the error.

fpm_conf.c -> fpm_conf_set_integer -> val[0] = '1' ,val[1]='5' ,val[2]=' '

generally the parser should ignore whitespace and tab values (hm..bug or feature?)

Test script:
insert the following in the fpm.conf


pm = dynamic

pm.max_children = 150

pm.start_servers =      10
pm.min_spare_servers =          10
pm.max_spare_servers =   20



COLLATION_CHARACTER_SET_APPLICABILITY (last revision 2020-07-30 22:21 UTC by Admin at gmail dot com)
fpm_conf_ignore_ts.patch (last revision 2010-12-09 12:58 UTC by d dot hagen at mittwald dot de)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-09 18:41 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: fat
 [2010-12-09 18:41 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

This has been corrected and will be available in the next release of PHP (5.3.4 
coming soon)
 [2020-07-30 22:21 UTC] Admin at gmail dot com
The following patch has been added/updated:

Revision:   1596147695
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 01 21:03:34 2021 UTC