1--TEST-- 2FPM: Socket for IPv6 any address connection 3--SKIPIF-- 4<?php 5include "skipif.inc"; 6FPM\Tester::skipIfIPv6IsNotSupported(); 7?> 8--FILE-- 9<?php 10 11require_once "tester.inc"; 12 13$cfg = <<<EOT 14[global] 15error_log = {{FILE:LOG}} 16[unconfined] 17listen = {{ADDR:IPv6:ANY}} 18pm = dynamic 19pm.max_children = 5 20pm.start_servers = 2 21pm.min_spare_servers = 1 22pm.max_spare_servers = 3 23EOT; 24 25$tester = new FPM\Tester($cfg); 26$tester->start(); 27$tester->expectLogStartNotices(); 28$tester->checkConnection('127.0.0.1', 'IPv4: ok'); 29$tester->checkConnection('[::1]', 'IPv6: ok'); 30$tester->terminate(); 31$tester->expectLogTerminatingNotices(); 32$tester->close(); 33 34?> 35Done 36--EXPECT-- 37IPv4: ok 38IPv6: ok 39Done 40--CLEAN-- 41<?php 42require_once "tester.inc"; 43FPM\Tester::clean(); 44?> 45