Home
last modified time | relevance | path

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

/php-src/sapi/apache2handler/
H A Dphp_functions.c354 server_rec *serv = ((php_struct *) SG(server_context))->r->server; in PHP_MINFO_FUNCTION() local
382 if (serv->server_admin && *(serv->server_admin)) { in PHP_MINFO_FUNCTION()
383 php_info_print_table_row(2, "Server Administrator", serv->server_admin); in PHP_MINFO_FUNCTION()
386 snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); in PHP_MINFO_FUNCTION()
395 … Keep Alive: %s - Max Per Connection: %d", max_requests, (serv->keep_alive ? "on":"off"), serv->ke… in PHP_MINFO_FUNCTION()
400 apr_time_sec(serv->timeout), apr_time_sec(serv->keep_alive_timeout)); in PHP_MINFO_FUNCTION()
403 php_info_print_table_row(2, "Virtual Server", (serv->is_virtual ? "Yes" : "No")); in PHP_MINFO_FUNCTION()
/php-src/ext/standard/
H A Dbasic_functions.c2185 struct servent *serv; local
2201 serv = getservbyname(ZSTR_VAL(name), proto);
2208 if (serv == NULL && zend_string_equals_literal(name, "imap")) {
2209 serv = getservbyname("imap2", proto);
2212 if (serv == NULL) {
2216 RETURN_LONG(ntohs(serv->s_port));
2228 struct servent *serv; local
2235 serv = getservbyport(htons((unsigned short) port), proto);
2237 if (serv == NULL) {
2243 __msan_unpoison_string(serv->s_name);
[all …]

Completed in 11 milliseconds