Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/sapi/fpm/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/sapi/fpm/tests/014.phpt |
--TEST-- FPM: Test for pm.start_servers default calculation message being a notice and not a warning #68458 --SKIPIF-- <?php include "skipif.inc"; ?> --FILE-- <?php include "include.inc"; $logfile = dirname(__FILE__).'/php-fpm.log.tmp'; $port = 9000+PHP_INT_SIZE; $cfg = <<<EOT [global] error_log = $logfile log_level = warning [unconfined] listen = 127.0.0.1:$port user = foo pm = dynamic pm.max_children = 5 ;pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 EOT; $fpm = run_fpm($cfg, $tail); if (is_resource($fpm)) { $i = 0; while (($i++ < 30) && !($fp = @fsockopen('127.0.0.1', $port))) { usleep(10000); } if ($fp) { echo "Started\n"; fclose($fp); } proc_terminate($fpm); if (!feof($tail)) { echo stream_get_contents($tail); } fclose($tail); proc_close($fpm); } ?> Done --EXPECTF-- Started Done --CLEAN-- <?php $logfile = dirname(__FILE__).'/php-fpm.log.tmp'; @unlink($logfile); ?>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare