Home
last modified time | relevance | path

Searched refs:serv (Results 1 – 2 of 2) sorted by relevance

/PHP-8.0/sapi/apache2handler/
H A Dphp_functions.c368 server_rec *serv = ((php_struct *) SG(server_context))->r->server; in PHP_MINFO_FUNCTION() local
401 if (serv->server_admin && *(serv->server_admin)) { in PHP_MINFO_FUNCTION()
402 php_info_print_table_row(2, "Server Administrator", serv->server_admin); in PHP_MINFO_FUNCTION()
405 snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); in PHP_MINFO_FUNCTION()
418 … Keep Alive: %s - Max Per Connection: %d", max_requests, (serv->keep_alive ? "on":"off"), serv->ke… in PHP_MINFO_FUNCTION()
423 apr_time_sec(serv->timeout), apr_time_sec(serv->keep_alive_timeout)); in PHP_MINFO_FUNCTION()
426 php_info_print_table_row(2, "Virtual Server", (serv->is_virtual ? "Yes" : "No")); in PHP_MINFO_FUNCTION()
/PHP-8.0/ext/standard/
H A Dbasic_functions.c2265 struct servent *serv; local
2281 serv = getservbyname(name, proto);
2288 if (serv == NULL && strcmp(name, "imap") == 0) {
2289 serv = getservbyname("imap2", proto);
2292 if (serv == NULL) {
2296 RETURN_LONG(ntohs(serv->s_port));
2308 struct servent *serv; local
2315 serv = getservbyport(htons((unsigned short) port), proto);
2317 if (serv == NULL) {
2321 RETURN_STRING(serv->s_name);

Completed in 17 milliseconds