Web lists-archives.com

Re: [PHP] ERROR: unknown entry '#listen'




On 25.11.2016 at 17:46, Kalle Sommer Nielsen wrote:

> Hi
> 
> 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
> 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php