1--TEST-- 2FPM: Process manager config option pm.start_servers missing 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 = {{ADDR}} 17ping.path = /ping 18ping.response = pong 19pm = dynamic 20pm.max_children = 5 21;pm.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->expectLogNotice( 29 "pm.start_servers is not set. It's been set to 2.", 30 'unconfined' 31); 32$tester->expectLogStartNotices(); 33$tester->terminate(); 34$tester->expectLogTerminatingNotices(); 35$tester->close(); 36 37?> 38Done 39--EXPECT-- 40Done 41--CLEAN-- 42<?php 43require_once "tester.inc"; 44FPM\Tester::clean(); 45?> 46