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