Searched refs:uptime (Results 1 – 2 of 2) sorted by relevance
/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_server_info.phpt | 22 if (false !== $db->setAttribute(PDO::ATTR_SERVER_INFO, 'new uptime: 0s')) 30 if (!$stmt = $db->query("SHOW STATUS LIKE '%uptime%'")) 34 printf("[005] Unable to fetch uptime, [%s]\n", $db->errorCode()); 36 $uptime = $row[1]; 41 printf("[006] Can't find uptime in server info '%s'\n", $info); 43 if (isset($uptime) && !preg_match(sprintf('/Uptime: %d/i', $uptime), $info)) 44 …server info have reported a different uptime, please check. Server info: '%s', SHOW STATUS: '%s'\n…
|
/PHP-5.4/sapi/aolserver/ |
H A D | aolserver.c | 204 int uptime = Ns_InfoUptime(); in php_info_aolserver() local 219 uptime / 86400, in php_info_aolserver() 220 (uptime / 3600) % 24, in php_info_aolserver() 221 (uptime / 60) % 60, in php_info_aolserver() 222 uptime % 60); in php_info_aolserver()
|
Completed in 5 milliseconds