Lines Matching refs:config

53 static char *fpm_conf_set_integer(zval *value, void **config, intptr_t offset);
55 static char *fpm_conf_set_long(zval *value, void **config, intptr_t offset);
57 static char *fpm_conf_set_time(zval *value, void **config, intptr_t offset);
58 static char *fpm_conf_set_boolean(zval *value, void **config, intptr_t offset);
59 static char *fpm_conf_set_string(zval *value, void **config, intptr_t offset);
60 static char *fpm_conf_set_log_level(zval *value, void **config, intptr_t offset);
61 static char *fpm_conf_set_rlimit_core(zval *value, void **config, intptr_t offset);
62 static char *fpm_conf_set_pm(zval *value, void **config, intptr_t offset);
64 static char *fpm_conf_set_syslog_facility(zval *value, void **config, intptr_t offset);
192 if (!current_wp || !current_wp->config || !current_wp->config->name) { in fpm_conf_expand_pool_name()
200 spprintf(&buf, 0, "%s%s%s", *value, current_wp->config->name, p2); in fpm_conf_expand_pool_name()
211 static char *fpm_conf_set_boolean(zval *value, void **config, intptr_t offset) /* {{{ */ in fpm_conf_set_boolean() argument
221 * (int *) ((char *) *config + offset) = value_y ? 1 : 0; in fpm_conf_set_boolean()
226 static char *fpm_conf_set_string(zval *value, void **config, intptr_t offset) /* {{{ */ in fpm_conf_set_string() argument
228 char **config_val = (char **) ((char *) *config + offset); in fpm_conf_set_string()
251 static char *fpm_conf_set_integer(zval *value, void **config, intptr_t offset) /* {{{ */ in fpm_conf_set_integer() argument
263 * (int *) ((char *) *config + offset) = atoi(val); in fpm_conf_set_integer()
269 static char *fpm_conf_set_long(zval *value, void **config, intptr_t offset) /* {{{ */
280 * (long int *) ((char *) *config + offset) = atol(val);
286 static char *fpm_conf_set_time(zval *value, void **config, intptr_t offset) /* {{{ */ in fpm_conf_set_time() argument
321 * (int *) ((char *) *config + offset) = seconds; in fpm_conf_set_time()
326 static char *fpm_conf_set_log_level(zval *value, void **config, intptr_t offset) /* {{{ */ in fpm_conf_set_log_level() argument
345 * (int *) ((char *) *config + offset) = log_level; in fpm_conf_set_log_level()
351 static char *fpm_conf_set_syslog_facility(zval *value, void **config, intptr_t offset) /* {{{ */ in fpm_conf_set_syslog_facility() argument
354 int *conf = (int *) ((char *) *config + offset); in fpm_conf_set_syslog_facility()
501 static char *fpm_conf_set_rlimit_core(zval *value, void **config, intptr_t offset) /* {{{ */ in fpm_conf_set_rlimit_core() argument
504 int *ptr = (int *) ((char *) *config + offset); in fpm_conf_set_rlimit_core()
530 static char *fpm_conf_set_pm(zval *value, void **config, intptr_t offset) /* {{{ */ in fpm_conf_set_pm() argument
533 struct fpm_worker_pool_config_s *c = *config; in fpm_conf_set_pm()
547 static char *fpm_conf_set_array(zval *key, zval *value, void **config, int convert_to_bool) /* {{{ … in fpm_conf_set_array() argument
550 struct key_value_s ***parent = (struct key_value_s ***) config; in fpm_conf_set_array()
607 wp->config = malloc(sizeof(struct fpm_worker_pool_config_s)); in fpm_worker_pool_config_alloc()
609 if (!wp->config) { in fpm_worker_pool_config_alloc()
614 memset(wp->config, 0, sizeof(struct fpm_worker_pool_config_s)); in fpm_worker_pool_config_alloc()
615 wp->config->listen_backlog = FPM_BACKLOG_DEFAULT; in fpm_worker_pool_config_alloc()
616 wp->config->pm_process_idle_timeout = 10; /* 10s by default */ in fpm_worker_pool_config_alloc()
617 wp->config->process_priority = 64; /* 64 means unset */ in fpm_worker_pool_config_alloc()
618 wp->config->process_dumpable = 0; in fpm_worker_pool_config_alloc()
619 wp->config->clear_env = 1; in fpm_worker_pool_config_alloc()
620 wp->config->decorate_workers_output = 1; in fpm_worker_pool_config_alloc()
636 return wp->config; in fpm_worker_pool_config_alloc()
698 if (wp && wp->config) { in fpm_evaluate_full_path()
699 prefix = wp->config->prefix; in fpm_evaluate_full_path()
742 if (**path != '/' && wp != NULL && wp->config) { in fpm_evaluate_full_path()
761 if (wp->config->prefix && *wp->config->prefix) { in fpm_conf_process_all_pools()
762 fpm_evaluate_full_path(&wp->config->prefix, NULL, NULL, 0); in fpm_conf_process_all_pools()
764 if (!fpm_conf_is_dir(wp->config->prefix)) { in fpm_conf_process_all_pools()
765 …l %s] the prefix '%s' does not exist or is not a directory", wp->config->name, wp->config->prefix); in fpm_conf_process_all_pools()
771 if (!wp->config->user && !geteuid() && !fpm_globals.run_as_root) { in fpm_conf_process_all_pools()
772 zlog(ZLOG_ALERT, "[pool %s] user has not been defined", wp->config->name); in fpm_conf_process_all_pools()
777 if (wp->config->listen_address && *wp->config->listen_address) { in fpm_conf_process_all_pools()
778 wp->listen_address_domain = fpm_sockets_domain_from_address(wp->config->listen_address); in fpm_conf_process_all_pools()
780 if (wp->listen_address_domain == FPM_AF_UNIX && *wp->config->listen_address != '/') { in fpm_conf_process_all_pools()
781 fpm_evaluate_full_path(&wp->config->listen_address, wp, NULL, 0); in fpm_conf_process_all_pools()
784 zlog(ZLOG_ALERT, "[pool %s] no listen address have been defined!", wp->config->name); in fpm_conf_process_all_pools()
788 …if (wp->config->process_priority != 64 && (wp->config->process_priority < -19 || wp->config->proce… in fpm_conf_process_all_pools()
789 zlog(ZLOG_ERROR, "[pool %s] process.priority must be included into [-19,20]", wp->config->name); in fpm_conf_process_all_pools()
794 …if (wp->config->pm != PM_STYLE_STATIC && wp->config->pm != PM_STYLE_DYNAMIC && wp->config->pm != P… in fpm_conf_process_all_pools()
795 …ALERT, "[pool %s] the process manager is missing (static, dynamic or ondemand)", wp->config->name); in fpm_conf_process_all_pools()
800 if (wp->config->pm_max_children < 1) { in fpm_conf_process_all_pools()
801 zlog(ZLOG_ALERT, "[pool %s] pm.max_children must be a positive value", wp->config->name); in fpm_conf_process_all_pools()
806 if (wp->config->pm == PM_STYLE_DYNAMIC) { in fpm_conf_process_all_pools()
807 struct fpm_worker_pool_config_s *config = wp->config; in fpm_conf_process_all_pools() local
809 if (config->pm_min_spare_servers <= 0) { in fpm_conf_process_all_pools()
810 …[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()
814 if (config->pm_max_spare_servers <= 0) { in fpm_conf_process_all_pools()
815 …[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()
819 if (config->pm_min_spare_servers > config->pm_max_children || in fpm_conf_process_all_pools()
820 config->pm_max_spare_servers > config->pm_max_children) { in fpm_conf_process_all_pools()
821 …ater than pm.max_children(%d)", wp->config->name, config->pm_min_spare_servers, config->pm_max_spa… in fpm_conf_process_all_pools()
825 if (config->pm_max_spare_servers < config->pm_min_spare_servers) { in fpm_conf_process_all_pools()
826 …st not be less than pm.min_spare_servers(%d)", wp->config->name, config->pm_max_spare_servers, con… in fpm_conf_process_all_pools()
830 if (config->pm_start_servers <= 0) { in fpm_conf_process_all_pools()
831config->pm_start_servers = config->pm_min_spare_servers + ((config->pm_max_spare_servers - config-… in fpm_conf_process_all_pools()
832 …[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()
834 …} else if (config->pm_start_servers < config->pm_min_spare_servers || config->pm_start_servers > c… in fpm_conf_process_all_pools()
835 …r than pm.max_spare_servers(%d)", wp->config->name, config->pm_start_servers, config->pm_min_spare… in fpm_conf_process_all_pools()
838 } else if (wp->config->pm == PM_STYLE_ONDEMAND) { in fpm_conf_process_all_pools()
839 struct fpm_worker_pool_config_s *config = wp->config; in fpm_conf_process_all_pools() local
842 … ONLY be used when events.mechanisme is either epoll (Linux) or kqueue (*BSD).", wp->config->name); in fpm_conf_process_all_pools()
846 if (config->pm_process_idle_timeout < 1) { in fpm_conf_process_all_pools()
847 …ol %s] pm.process_idle_timeout(%ds) must be greater than 0s", wp->config->name, config->pm_process… in fpm_conf_process_all_pools()
851 if (config->listen_backlog < FPM_BACKLOG_DEFAULT) { in fpm_conf_process_all_pools()
852 …r the ondemand process manager. I updated it for you to %d.", wp->config->name, config->listen_bac… in fpm_conf_process_all_pools()
853 config->listen_backlog = FPM_BACKLOG_DEFAULT; in fpm_conf_process_all_pools()
857 config->pm_start_servers = 0; in fpm_conf_process_all_pools()
858 config->pm_min_spare_servers = 0; in fpm_conf_process_all_pools()
859 config->pm_max_spare_servers = 0; in fpm_conf_process_all_pools()
863 if (wp->config->pm_status_path && *wp->config->pm_status_path) { in fpm_conf_process_all_pools()
865 char *status = wp->config->pm_status_path; in fpm_conf_process_all_pools()
868 …zlog(ZLOG_ERROR, "[pool %s] the status path '%s' must start with a '/'", wp->config->name, status); in fpm_conf_process_all_pools()
873 zlog(ZLOG_ERROR, "[pool %s] the status path '%s' is not long enough", wp->config->name, status); in fpm_conf_process_all_pools()
879 …path '%s' must contain only the following characters '[alphanum]/_-.~'", wp->config->name, status); in fpm_conf_process_all_pools()
886 if (wp->config->ping_path && *wp->config->ping_path) { in fpm_conf_process_all_pools()
887 char *ping = wp->config->ping_path; in fpm_conf_process_all_pools()
891 zlog(ZLOG_ERROR, "[pool %s] the ping path '%s' must start with a '/'", wp->config->name, ping); in fpm_conf_process_all_pools()
896 zlog(ZLOG_ERROR, "[pool %s] the ping path '%s' is not long enough", wp->config->name, ping); in fpm_conf_process_all_pools()
902 … path '%s' must containt only the following characters '[alphanum]/_-.~'", wp->config->name, ping); in fpm_conf_process_all_pools()
907 if (!wp->config->ping_response) { in fpm_conf_process_all_pools()
908 wp->config->ping_response = strdup("pong"); in fpm_conf_process_all_pools()
910 if (strlen(wp->config->ping_response) < 1) { in fpm_conf_process_all_pools()
911 …"[pool %s] the ping response page '%s' is not long enough", wp->config->name, wp->config->ping_res… in fpm_conf_process_all_pools()
916 if (wp->config->ping_response) { in fpm_conf_process_all_pools()
917 free(wp->config->ping_response); in fpm_conf_process_all_pools()
918 wp->config->ping_response = NULL; in fpm_conf_process_all_pools()
923 if (wp->config->access_log && *wp->config->access_log) { in fpm_conf_process_all_pools()
924 fpm_evaluate_full_path(&wp->config->access_log, wp, NULL, 0); in fpm_conf_process_all_pools()
925 if (!wp->config->access_format) { in fpm_conf_process_all_pools()
926 wp->config->access_format = strdup("%R - %u %t \"%m %r\" %s"); in fpm_conf_process_all_pools()
930 if (wp->config->request_terminate_timeout) { in fpm_conf_process_all_pools()
931 …s.heartbeat ? MIN(fpm_globals.heartbeat, (wp->config->request_terminate_timeout * 1000) / 3) : (wp… in fpm_conf_process_all_pools()
935 if (wp->config->slowlog && *wp->config->slowlog) { in fpm_conf_process_all_pools()
936 fpm_evaluate_full_path(&wp->config->slowlog, wp, NULL, 0); in fpm_conf_process_all_pools()
940 if (wp->config->request_slowlog_timeout) { in fpm_conf_process_all_pools()
942 if (! (wp->config->slowlog && *wp->config->slowlog)) { in fpm_conf_process_all_pools()
943 … "[pool %s] 'slowlog' must be specified for use with 'request_slowlog_timeout'", wp->config->name); in fpm_conf_process_all_pools()
950 …_WARNING, "[pool %s] 'request_slowlog_timeout' is not supported on your system", wp->config->name); in fpm_conf_process_all_pools()
954 wp->config->request_slowlog_timeout = 0; in fpm_conf_process_all_pools()
957 if (wp->config->slowlog && *wp->config->slowlog) { in fpm_conf_process_all_pools()
960 fd = open(wp->config->slowlog, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR); in fpm_conf_process_all_pools()
963 zlog(ZLOG_SYSERROR, "Unable to create or open slowlog(%s)", wp->config->slowlog); in fpm_conf_process_all_pools()
969 …ls.heartbeat ? MIN(fpm_globals.heartbeat, (wp->config->request_slowlog_timeout * 1000) / 3) : (wp-… in fpm_conf_process_all_pools()
971 …if (wp->config->request_terminate_timeout && wp->config->request_slowlog_timeout > wp->config->req… in fpm_conf_process_all_pools()
972 …r than 'request_terminate_timeout' (%d)", wp->config->name, wp->config->request_slowlog_timeout, w… in fpm_conf_process_all_pools()
978 if (wp->config->request_slowlog_trace_depth) { in fpm_conf_process_all_pools()
980 if (! (wp->config->slowlog && *wp->config->slowlog)) { in fpm_conf_process_all_pools()
981 …ool %s] 'slowlog' must be specified for use with 'request_slowlog_trace_depth'", wp->config->name); in fpm_conf_process_all_pools()
988 …NING, "[pool %s] 'request_slowlog_trace_depth' is not supported on your system", wp->config->name); in fpm_conf_process_all_pools()
993 if (wp->config->request_slowlog_trace_depth <= 0) { in fpm_conf_process_all_pools()
994 …equest_slowlog_trace_depth' (%d) must be a positive value", wp->config->name, wp->config->request_… in fpm_conf_process_all_pools()
998 wp->config->request_slowlog_trace_depth = 20; in fpm_conf_process_all_pools()
1002 if (wp->config->chroot && *wp->config->chroot) { in fpm_conf_process_all_pools()
1004 fpm_evaluate_full_path(&wp->config->chroot, wp, NULL, 1); in fpm_conf_process_all_pools()
1006 if (*wp->config->chroot != '/') { in fpm_conf_process_all_pools()
1007 …ROR, "[pool %s] the chroot path '%s' must start with a '/'", wp->config->name, wp->config->chroot); in fpm_conf_process_all_pools()
1011 if (!fpm_conf_is_dir(wp->config->chroot)) { in fpm_conf_process_all_pools()
1012 … the chroot path '%s' does not exist or is not a directory", wp->config->name, wp->config->chroot); in fpm_conf_process_all_pools()
1018 if (wp->config->chdir && *wp->config->chdir) { in fpm_conf_process_all_pools()
1020 fpm_evaluate_full_path(&wp->config->chdir, wp, NULL, 0); in fpm_conf_process_all_pools()
1022 if (*wp->config->chdir != '/') { in fpm_conf_process_all_pools()
1023 …ERROR, "[pool %s] the chdir path '%s' must start with a '/'", wp->config->name, wp->config->chdir); in fpm_conf_process_all_pools()
1027 if (wp->config->chroot) { in fpm_conf_process_all_pools()
1030 spprintf(&buf, 0, "%s/%s", wp->config->chroot, wp->config->chdir); in fpm_conf_process_all_pools()
1033 …'%s' ('%s') does not exist or is not a directory", wp->config->name, wp->config->chdir, wp->config in fpm_conf_process_all_pools()
1040 if (!fpm_conf_is_dir(wp->config->chdir)) { in fpm_conf_process_all_pools()
1041 …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()
1048 if (!wp->config->security_limit_extensions) { in fpm_conf_process_all_pools()
1049 wp->config->security_limit_extensions = strdup(".php .phar"); in fpm_conf_process_all_pools()
1052 if (*wp->config->security_limit_extensions) { in fpm_conf_process_all_pools()
1060 security_limit_extensions = strdup(wp->config->security_limit_extensions); in fpm_conf_process_all_pools()
1077 zlog(ZLOG_ERROR, "[pool %s] unable to malloc extensions array", wp->config->name); in fpm_conf_process_all_pools()
1082 security_limit_extensions = strdup(wp->config->security_limit_extensions); in fpm_conf_process_all_pools()
1099 if (!wp->config->chroot) { in fpm_conf_process_all_pools()
1104 for (kv = wp->config->php_values; kv; kv = kv->next) { in fpm_conf_process_all_pools()
1111 for (kv = wp->config->php_admin_values; kv; kv = kv->next) { in fpm_conf_process_all_pools()
1131config->listen_address && *wp->config->listen_address && wp2->config->listen_address && *wp2->conf… in fpm_conf_process_all_pools()
1132 …et listen address as it's already used in another pool '%s'", wp2->config->name, wp->config->name); in fpm_conf_process_all_pools()
1256 if (!wp->config->access_log || !*wp->config->access_log) { in fpm_conf_post_process()
1259 if (0 > fpm_log_write(wp->config->access_format)) { in fpm_conf_post_process()
1260 …zlog(ZLOG_ERROR, "[pool %s] wrong format for access.format '%s'", wp->config->name, wp->config->ac… in fpm_conf_post_process()
1281 free(fpm_globals.config); in fpm_conf_cleanup()
1344 struct fpm_worker_pool_config_s *config; in fpm_conf_ini_parser_section() local
1354 if (!wp->config) continue; in fpm_conf_ini_parser_section()
1355 if (!wp->config->name) continue; in fpm_conf_ini_parser_section()
1356 if (!strcasecmp(wp->config->name, Z_STRVAL_P(section))) { in fpm_conf_ini_parser_section()
1364 config = (struct fpm_worker_pool_config_s *)fpm_worker_pool_config_alloc(); in fpm_conf_ini_parser_section()
1365 if (!current_wp || !config) { in fpm_conf_ini_parser_section()
1370 config->name = strdup(Z_STRVAL_P(section)); in fpm_conf_ini_parser_section()
1371 if (!config->name) { in fpm_conf_ini_parser_section()
1382 void *config = NULL; in fpm_conf_ini_parser_entry() local
1403 config = &fpm_global_config; in fpm_conf_ini_parser_entry()
1406 config = current_wp->config; in fpm_conf_ini_parser_entry()
1418 ret = parser->parser(value, &config, parser->offset); in fpm_conf_ini_parser_entry()
1440 void *config; in fpm_conf_ini_parser_array() local
1447 if (!current_wp || !current_wp->config) { in fpm_conf_ini_parser_array()
1459 config = (char *)current_wp->config + WPO(env); in fpm_conf_ini_parser_array()
1460 err = fpm_conf_set_array(key, value, &config, 0); in fpm_conf_ini_parser_array()
1463 config = (char *)current_wp->config + WPO(php_values); in fpm_conf_ini_parser_array()
1464 err = fpm_conf_set_array(key, value, &config, 0); in fpm_conf_ini_parser_array()
1467 config = (char *)current_wp->config + WPO(php_admin_values); in fpm_conf_ini_parser_array()
1468 err = fpm_conf_set_array(key, value, &config, 0); in fpm_conf_ini_parser_array()
1471 config = (char *)current_wp->config + WPO(php_values); in fpm_conf_ini_parser_array()
1472 err = fpm_conf_set_array(key, value, &config, 1); in fpm_conf_ini_parser_array()
1475 config = (char *)current_wp->config + WPO(php_admin_values); in fpm_conf_ini_parser_array()
1476 err = fpm_conf_set_array(key, value, &config, 1); in fpm_conf_ini_parser_array()
1641 if (!wp->config) continue; in fpm_conf_dump()
1642 zlog(ZLOG_NOTICE, "[%s]", STR2STR(wp->config->name)); in fpm_conf_dump()
1643 zlog(ZLOG_NOTICE, "\tprefix = %s", STR2STR(wp->config->prefix)); in fpm_conf_dump()
1644 zlog(ZLOG_NOTICE, "\tuser = %s", STR2STR(wp->config->user)); in fpm_conf_dump()
1645 zlog(ZLOG_NOTICE, "\tgroup = %s", STR2STR(wp->config->group)); in fpm_conf_dump()
1646 zlog(ZLOG_NOTICE, "\tlisten = %s", STR2STR(wp->config->listen_address)); in fpm_conf_dump()
1647 zlog(ZLOG_NOTICE, "\tlisten.backlog = %d", wp->config->listen_backlog); in fpm_conf_dump()
1649 zlog(ZLOG_NOTICE, "\tlisten.acl_users = %s", STR2STR(wp->config->listen_acl_users)); in fpm_conf_dump()
1650 zlog(ZLOG_NOTICE, "\tlisten.acl_groups = %s", STR2STR(wp->config->listen_acl_groups)); in fpm_conf_dump()
1652 zlog(ZLOG_NOTICE, "\tlisten.owner = %s", STR2STR(wp->config->listen_owner)); in fpm_conf_dump()
1653 zlog(ZLOG_NOTICE, "\tlisten.group = %s", STR2STR(wp->config->listen_group)); in fpm_conf_dump()
1654 zlog(ZLOG_NOTICE, "\tlisten.mode = %s", STR2STR(wp->config->listen_mode)); in fpm_conf_dump()
1655 …zlog(ZLOG_NOTICE, "\tlisten.allowed_clients = %s", STR2STR(wp->config->listen_allowed_clients)… in fpm_conf_dump()
1656 if (wp->config->process_priority == 64) { in fpm_conf_dump()
1659 zlog(ZLOG_NOTICE, "\tprocess.priority = %d", wp->config->process_priority); in fpm_conf_dump()
1661 zlog(ZLOG_NOTICE, "\tprocess.dumpable = %s", BOOL2STR(wp->config->process_dumpable)); in fpm_conf_dump()
1662 zlog(ZLOG_NOTICE, "\tpm = %s", PM2STR(wp->config->pm)); in fpm_conf_dump()
1663 zlog(ZLOG_NOTICE, "\tpm.max_children = %d", wp->config->pm_max_children); in fpm_conf_dump()
1664 zlog(ZLOG_NOTICE, "\tpm.start_servers = %d", wp->config->pm_start_servers); in fpm_conf_dump()
1665 zlog(ZLOG_NOTICE, "\tpm.min_spare_servers = %d", wp->config->pm_min_spare_servers); in fpm_conf_dump()
1666 zlog(ZLOG_NOTICE, "\tpm.max_spare_servers = %d", wp->config->pm_max_spare_servers); in fpm_conf_dump()
1667 zlog(ZLOG_NOTICE, "\tpm.process_idle_timeout = %d", wp->config->pm_process_idle_timeout); in fpm_conf_dump()
1668 zlog(ZLOG_NOTICE, "\tpm.max_requests = %d", wp->config->pm_max_requests); in fpm_conf_dump()
1669 zlog(ZLOG_NOTICE, "\tpm.status_path = %s", STR2STR(wp->config->pm_status_path)); in fpm_conf_dump()
1670 zlog(ZLOG_NOTICE, "\tping.path = %s", STR2STR(wp->config->ping_path)); in fpm_conf_dump()
1671 zlog(ZLOG_NOTICE, "\tping.response = %s", STR2STR(wp->config->ping_response)); in fpm_conf_dump()
1672 zlog(ZLOG_NOTICE, "\taccess.log = %s", STR2STR(wp->config->access_log)); in fpm_conf_dump()
1673 zlog(ZLOG_NOTICE, "\taccess.format = %s", STR2STR(wp->config->access_format)); in fpm_conf_dump()
1674 zlog(ZLOG_NOTICE, "\tslowlog = %s", STR2STR(wp->config->slowlog)); in fpm_conf_dump()
1675 zlog(ZLOG_NOTICE, "\trequest_slowlog_timeout = %ds", wp->config->request_slowlog_timeout); in fpm_conf_dump()
1676 zlog(ZLOG_NOTICE, "\trequest_slowlog_trace_depth = %d", wp->config->request_slowlog_trace_depth); in fpm_conf_dump()
1677 zlog(ZLOG_NOTICE, "\trequest_terminate_timeout = %ds", wp->config->request_terminate_timeout); in fpm_conf_dump()
1678 …zlog(ZLOG_NOTICE, "\trequest_terminate_timeout_track_finished = %s", BOOL2STR(wp->config->request_… in fpm_conf_dump()
1679 zlog(ZLOG_NOTICE, "\trlimit_files = %d", wp->config->rlimit_files); in fpm_conf_dump()
1680 zlog(ZLOG_NOTICE, "\trlimit_core = %d", wp->config->rlimit_core); in fpm_conf_dump()
1681 zlog(ZLOG_NOTICE, "\tchroot = %s", STR2STR(wp->config->chroot)); in fpm_conf_dump()
1682 zlog(ZLOG_NOTICE, "\tchdir = %s", STR2STR(wp->config->chdir)); in fpm_conf_dump()
1683 …zlog(ZLOG_NOTICE, "\tcatch_workers_output = %s", BOOL2STR(wp->config->catch_workers_output)); in fpm_conf_dump()
1684 …zlog(ZLOG_NOTICE, "\tdecorate_workers_output = %s", BOOL2STR(wp->config->decorate_workers_outpu… in fpm_conf_dump()
1685 zlog(ZLOG_NOTICE, "\tclear_env = %s", BOOL2STR(wp->config->clear_env)); in fpm_conf_dump()
1686 zlog(ZLOG_NOTICE, "\tsecurity.limit_extensions = %s", wp->config->security_limit_extensions); in fpm_conf_dump()
1688 for (kv = wp->config->env; kv; kv = kv->next) { in fpm_conf_dump()
1692 for (kv = wp->config->php_values; kv; kv = kv->next) { in fpm_conf_dump()
1696 for (kv = wp->config->php_admin_values; kv; kv = kv->next) { in fpm_conf_dump()
1719 if (fpm_globals.config == NULL) { in fpm_conf_init_main()
1733 fpm_globals.config = strdup(tmp); in fpm_conf_init_main()
1736 if (!fpm_globals.config) { in fpm_conf_init_main()
1742 ret = fpm_conf_load_ini_file(fpm_globals.config); in fpm_conf_init_main()
1745 zlog(ZLOG_ERROR, "failed to load configuration file '%s'", fpm_globals.config); in fpm_conf_init_main()
1758 zlog(ZLOG_NOTICE, "configuration file %s test is successful\n", fpm_globals.config); in fpm_conf_init_main()