|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70059 FPM does not accept '#' as comment anymore
Submitted: 2015-07-13 06:10 UTC Modified: 2021-06-21 08:35 UTC
From: Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 7.0.0beta1 OS: Ubuntu 14.04.2 LTS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2015-07-13 06:10 UTC]
I'm pretty sure this has changed, as I was running a 5.6 FPM installation with line comments starting with '#' and they didn't work anymore:

[11-Jul-2015 19:30:05] ERROR: [/etc/php5/fpm/pool.d/app.conf:9] value is NULL for a ZEND_INI_PARSER_ENTRY
[11-Jul-2015 19:30:05] ERROR: Unable to include /etc/php5/fpm/pool.d/app.conf from /etc/php5/fpm/php-fpm.conf at line 9
[11-Jul-2015 19:30:05] ERROR: failed to load configuration file '/etc/php5/fpm/php-fpm.conf'
[11-Jul-2015 19:30:05] ERROR: FPM initialization failed

Once I replaced the '#' with a ';' it worked

Maybe it's worth an entry in the Upgrading guide or similar.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-07-13 07:19 UTC]
-Status: Open +Status: Not a bug
 [2015-07-13 07:19 UTC]
actually, there is:

 [2015-07-13 10:06 UTC]
Thanks, must have slipped past me when I read it, awesome!
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 23 02:03:36 2021 UTC