Bug #52735 [NEW]: config values should be trimed
| From: | miha dot vrhovnik at domenca dot com | Date: | Mon, 30 Aug 2010 07:16:38 +0000 |
| Subject: | Bug #52735 [NEW]: config values should be trimed | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-153909@lists.php.net to get a copy of this message | ||
From:
Operating system: any
PHP version: 5.3.3
Package: FPM related
Bug Type: Bug
Bug description:config values should be trimed
Description:
------------
Starting php5-fpm Aug 30 06:58:21.982996 [ALERT] [pool www]
pm.min_spare_servers(0) must be a positive value
Aug 30 06:58:21.983104 [ERROR] failed to post process the configuration
failed
The problem is that after the actual value (number) I had a space.
This problem might effect other config variables also.
Solution for this is obvious. All settings? should be trimmed first, before
put to use.
--
Edit bug report at http://bugs.php.net/bug.php?id=52735&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52735&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52735&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52735&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52735&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52735&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52735&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52735&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52735&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52735&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52735&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52735&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52735&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52735&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52735&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52735&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52735&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52735&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52735&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52735&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52735&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52735&r=mysqlcfg