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

[email protected] ("Christoph M. Becker")
Newsgroups php.general
Message-ID <[email protected]>
On 25.11.2016 at 17:46, Kalle Sommer Nielsen wrote:

> Hi
> 
> On Nov 25, 2016 17:43, "Andrey Repin" <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.