Re: [PHP] ERROR: unknown entry '#listen'
- Date: Fri, 25 Nov 2016 17:46:12 +0100
- From: Kalle Sommer Nielsen <kalle@xxxxxxx>
- Subject: Re: [PHP] ERROR: unknown entry '#listen'
On Nov 25, 2016 17:43, "Andrey Repin" <anrdaemon@xxxxxxxxxxx> 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
> [25-Nov-2016 18:59:34] ERROR: failed to load configuration file
> [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 :)