1--TEST--
2FPM: gh68591 - daemonized mode duplicated logs
3--SKIPIF--
4<?php
5include "skipif.inc";
6?>
7--FILE--
8<?php
9
10require_once "tester.inc";
11
12$cfg = <<<EOT
13[global]
14error_log = /dev/stderr
15daemonize = true
16[unconfined]
17listen = {{ADDR}}
18pm = static
19pm.max_children = 1
20EOT;
21
22$tester = new FPM\Tester($cfg);
23$tester->testConfig(dumpConfig: false, printOutput: true);
24
25?>
26Done
27--EXPECTF--
28%sNOTICE: configuration file %s test is successful
29Done
30--CLEAN--
31<?php
32require_once "tester.inc";
33FPM\Tester::clean();
34?>
35