Lines Matching refs:name

194 		if (!current_wp || !current_wp->config  || !current_wp->config->name) {  in fpm_conf_expand_pool_name()
202 spprintf(&buf, 0, "%s%s%s", *value, current_wp->config->name, p2); in fpm_conf_expand_pool_name()
666 free(wpc->name); in fpm_worker_pool_config_free()
743 config->name = malloc(strlen(shared_config->name) + sizeof("_status")); in fpm_worker_pool_shared_status_alloc()
744 if (!config->name) { in fpm_worker_pool_shared_status_alloc()
747 strcpy(config->name, shared_config->name); in fpm_worker_pool_shared_status_alloc()
748 strcpy(config->name + strlen(shared_config->name), "_status"); in fpm_worker_pool_shared_status_alloc()
857 …ol %s] the prefix '%s' does not exist or is not a directory", wp->config->name, wp->config->prefix… in fpm_conf_process_all_pools()
864 zlog(ZLOG_ALERT, "[pool %s] user has not been defined", wp->config->name); in fpm_conf_process_all_pools()
876 zlog(ZLOG_ALERT, "[pool %s] no listen address have been defined!", wp->config->name); in fpm_conf_process_all_pools()
881 zlog(ZLOG_ERROR, "[pool %s] process.priority must be included into [-19,20]", wp->config->name); in fpm_conf_process_all_pools()
887 …ALERT, "[pool %s] the process manager is missing (static, dynamic or ondemand)", wp->config->name); in fpm_conf_process_all_pools()
893 zlog(ZLOG_ALERT, "[pool %s] pm.max_children must be a positive value", wp->config->name); in fpm_conf_process_all_pools()
902 …[pool %s] pm.min_spare_servers(%d) must be a positive value", wp->config->name, config->pm_min_spa… in fpm_conf_process_all_pools()
907 …[pool %s] pm.max_spare_servers(%d) must be a positive value", wp->config->name, config->pm_max_spa… in fpm_conf_process_all_pools()
913 …pare_servers(%d) cannot be greater than pm.max_children(%d)", wp->config->name, config->pm_min_spa… in fpm_conf_process_all_pools()
918 …_servers(%d) must not be less than pm.min_spare_servers(%d)", wp->config->name, config->pm_max_spa… in fpm_conf_process_all_pools()
924 …[pool %s] pm.start_servers is not set. It's been set to %d.", wp->config->name, config->pm_start_s… in fpm_conf_process_all_pools()
927 …e_servers(%d) and not greater than pm.max_spare_servers(%d)", wp->config->name, config->pm_start_s… in fpm_conf_process_all_pools()
932 zlog(ZLOG_ALERT, "[pool %s] pm.max_spawn_rate must be a positive value", wp->config->name); in fpm_conf_process_all_pools()
939 …n ONLY be used when events.mechanism is either epoll (Linux) or kqueue (*BSD).", wp->config->name); in fpm_conf_process_all_pools()
944 …ol %s] pm.process_idle_timeout(%ds) must be greater than 0s", wp->config->name, config->pm_process… in fpm_conf_process_all_pools()
949 …r the ondemand process manager. I updated it for you to %d.", wp->config->name, config->listen_bac… in fpm_conf_process_all_pools()
961 zlog(ZLOG_ERROR, "[pool %s] failed to initialize a status listener pool", wp->config->name); in fpm_conf_process_all_pools()
969 …zlog(ZLOG_ERROR, "[pool %s] the status path '%s' must start with a '/'", wp->config->name, status); in fpm_conf_process_all_pools()
974 zlog(ZLOG_ERROR, "[pool %s] the status path '%s' is not long enough", wp->config->name, status); in fpm_conf_process_all_pools()
980 …path '%s' must contain only the following characters '[alphanum]/_-.~'", wp->config->name, status); in fpm_conf_process_all_pools()
992 zlog(ZLOG_ERROR, "[pool %s] the ping path '%s' must start with a '/'", wp->config->name, ping); in fpm_conf_process_all_pools()
997 zlog(ZLOG_ERROR, "[pool %s] the ping path '%s' is not long enough", wp->config->name, ping); in fpm_conf_process_all_pools()
1003 …g path '%s' must contain only the following characters '[alphanum]/_-.~'", wp->config->name, ping); in fpm_conf_process_all_pools()
1012 …zlog(ZLOG_ERROR, "[pool %s] the ping response page '%s' is not long enough", wp->config->name, wp-… in fpm_conf_process_all_pools()
1044 … "[pool %s] 'slowlog' must be specified for use with 'request_slowlog_timeout'", wp->config->name); in fpm_conf_process_all_pools()
1051 …_WARNING, "[pool %s] 'request_slowlog_timeout' is not supported on your system", wp->config->name); in fpm_conf_process_all_pools()
1073 …(%d) can't be greater than 'request_terminate_timeout' (%d)", wp->config->name, wp->config->reques… in fpm_conf_process_all_pools()
1082 …ool %s] 'slowlog' must be specified for use with 'request_slowlog_trace_depth'", wp->config->name); in fpm_conf_process_all_pools()
1089 …NING, "[pool %s] 'request_slowlog_trace_depth' is not supported on your system", wp->config->name); in fpm_conf_process_all_pools()
1095 …'request_slowlog_trace_depth' (%d) must be a positive value", wp->config->name, wp->config->reques… in fpm_conf_process_all_pools()
1108 …zlog(ZLOG_ERROR, "[pool %s] the chroot path '%s' must start with a '/'", wp->config->name, wp->con… in fpm_conf_process_all_pools()
1113 …] the chroot path '%s' does not exist or is not a directory", wp->config->name, wp->config->chroot… in fpm_conf_process_all_pools()
1124 …zlog(ZLOG_ERROR, "[pool %s] the chdir path '%s' must start with a '/'", wp->config->name, wp->conf… in fpm_conf_process_all_pools()
1134 …hroot path '%s' ('%s') does not exist or is not a directory", wp->config->name, wp->config->chdir,… in fpm_conf_process_all_pools()
1142 …s] the chdir path '%s' does not exist or is not a directory", wp->config->name, wp->config->chdir); in fpm_conf_process_all_pools()
1178 zlog(ZLOG_ERROR, "[pool %s] unable to malloc extensions array", wp->config->name); in fpm_conf_process_all_pools()
1232 …et listen address as it's already used in another pool '%s'", wp2->config->name, wp->config->name); in fpm_conf_process_all_pools()
1361 …zlog(ZLOG_ERROR, "[pool %s] wrong format for access.format '%s'", wp->config->name, wp->config->ac… in fpm_conf_post_process()
1456 if (!wp->config->name) continue; in fpm_conf_ini_parser_section()
1457 if (!strcasecmp(wp->config->name, Z_STRVAL_P(section))) { in fpm_conf_ini_parser_section()
1471 config->name = strdup(Z_STRVAL_P(section)); in fpm_conf_ini_parser_section()
1472 if (!config->name) { in fpm_conf_ini_parser_section()
1480 static void fpm_conf_ini_parser_entry(zval *name, zval *value, void *arg) /* {{{ */ in fpm_conf_ini_parser_entry() argument
1492 if (zend_string_equals_literal(Z_STR_P(name), "include")) { in fpm_conf_ini_parser_entry()
1510 for (; parser->name; parser++) { in fpm_conf_ini_parser_entry()
1511 if (!strcasecmp(parser->name, Z_STRVAL_P(name))) { in fpm_conf_ini_parser_entry()
1514 …ERROR, "[%s:%d] the parser for entry '%s' is not defined", ini_filename, ini_lineno, parser->name); in fpm_conf_ini_parser_entry()
1521 …, "[%s:%d] unable to parse value for entry '%s': %s", ini_filename, ini_lineno, parser->name, ret); in fpm_conf_ini_parser_entry()
1532 zlog(ZLOG_ERROR, "[%s:%d] unknown entry '%s'", ini_filename, ini_lineno, Z_STRVAL_P(name)); in fpm_conf_ini_parser_entry()
1537 static void fpm_conf_ini_parser_array(zval *name, zval *key, zval *value, void *arg) /* {{{ */ in fpm_conf_ini_parser_array() argument
1543 if (zend_string_equals_literal(Z_STR_P(name), "access.suppress_path")) { in fpm_conf_ini_parser_array()
1556 …RROR, "[%s:%d] You must provide a key for field '%s'", ini_filename, ini_lineno, Z_STRVAL_P(name)); in fpm_conf_ini_parser_array()
1567 if (zend_string_equals_literal(Z_STR_P(name), "env")) { in fpm_conf_ini_parser_array()
1576 } else if (zend_string_equals_literal(Z_STR_P(name), "php_value")) { in fpm_conf_ini_parser_array()
1580 } else if (zend_string_equals_literal(Z_STR_P(name), "php_admin_value")) { in fpm_conf_ini_parser_array()
1584 } else if (zend_string_equals_literal(Z_STR_P(name), "php_flag")) { in fpm_conf_ini_parser_array()
1588 } else if (zend_string_equals_literal(Z_STR_P(name), "php_admin_flag")) { in fpm_conf_ini_parser_array()
1592 } else if (zend_string_equals_literal(Z_STR_P(name), "access.suppress_path")) { in fpm_conf_ini_parser_array()
1597 zlog(ZLOG_ERROR, "[%s:%d] unknown directive '%s'", ini_filename, ini_lineno, Z_STRVAL_P(name)); in fpm_conf_ini_parser_array()
1603 … error while parsing '%s[%s]' : %s", ini_filename, ini_lineno, Z_STRVAL_P(name), Z_STRVAL_P(key), … in fpm_conf_ini_parser_array()
1767 zlog(ZLOG_NOTICE, "[%s]", STR2STR(wp->config->name)); in fpm_conf_dump()