Re: ERROR: unknown entry '#listen'
| From: | Christoph M. Becker | Date: | Fri, 25 Nov 2016 17:13:26 +0000 |
| Subject: | Re: ERROR: unknown entry '#listen' | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-325845@lists.php.net to get a copy of this message | ||
On 25.11.2016 at 17:46, Kalle Sommer Nielsen wrote:
> Hi
>
> On Nov 25, 2016 17:43, "Andrey Repin" <anrdaemon@freemail.ru> wrote:
>>
>> Greetings, All.
>>
>> I'm trying to setup 7.0 FPM.
>> I've made a copy of one of the existing 5.6 pools, and…
>>
>> [25-Nov-2016 18:59:34] ERROR: [/etc/php/7.0/fpm/pool.d/cc-admin.conf:7]
> unknown entry '#listen'
>> [25-Nov-2016 18:59:34] ERROR: Unable to include
> /etc/php/7.0/fpm/pool.d/cc-admin.conf from /etc/php/7.0/fpm/php-fpm.conf at
> line 7
>> [25-Nov-2016 18:59:34] ERROR: failed to load configuration file
> '/etc/php/7.0/fpm/php-fpm.conf'
>> [25-Nov-2016 18:59:34] ERROR: FPM initialization failed
>>
>> So, what changed? Why "#" is suddenly not allowed in configuration files?
>
> Since PHP 5.3ish, the # comment delimiter in configuration files have been
> deprecated and finally removed :)
See also
<http://php.net/manual/en/migration70.incompatible.php#migration70.incompatible.other.ini-comments>.
--
Christoph M. Becker