1--TEST--
2FPM: bug68420 - IPv4 all addresses
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 = {{FILE:LOG}}
15[unconfined]
16listen = {{PORT}}
17ping.path = /ping
18ping.response = pong
19pm = dynamic
20pm.max_children = 5
21pm.start_servers = 2
22pm.min_spare_servers = 1
23pm.max_spare_servers = 3
24EOT;
25
26$tester = new FPM\Tester($cfg);
27$tester->start();
28$tester->expectLogStartNotices();
29$tester->ping('127.0.0.1');
30$tester->terminate();
31$tester->expectLogTerminatingNotices();
32$tester->close();
33
34?>
35Done
36--EXPECT--
37Done
38--CLEAN--
39<?php
40require_once "tester.inc";
41FPM\Tester::clean();
42?>
43