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