php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
fpm_conf.h
Go to the documentation of this file.
1 /* (c) 2007,2008 Andrei Nigmatulin */
2
3#ifndef FPM_CONF_H
4#define FPM_CONF_H 1
5
6#include <stdint.h>
7#include "php.h"
8
9#define PM2STR(a) (a == PM_STYLE_STATIC ? "static" : (a == PM_STYLE_DYNAMIC ? "dynamic" : "ondemand"))
10
11#define FPM_CONF_MAX_PONG_LENGTH 64
12
13struct key_value_s;
14
17 char *key;
18 char *value;
19};
20
21/*
22 * Please keep the same order as in fpm_conf.c and in php-fpm.conf.in
23 */
25 char *pid_file;
26 char *error_log;
27#ifdef HAVE_SYSLOG_H
28 char *syslog_ident;
29 int syslog_facility;
30#endif
43#ifdef HAVE_SYSTEMD
44 int systemd_watchdog;
45 int systemd_interval;
46#endif
47};
48
50
51/*
52 * Please keep the same order as in fpm_conf.c and in php-fpm.conf.in
53 */
55 char *name;
56 char *prefix;
57 char *user;
58 char *group;
61 /* Using chown */
68 int pm;
78 char *ping_path;
83 char *slowlog;
90 char *chroot;
91 char *chdir;
99#ifdef HAVE_APPARMOR
100 char *apparmor_hat;
101#endif
102#ifdef HAVE_FPM_ACL
103 /* Using Posix ACL */
104 char *listen_acl_users;
105 char *listen_acl_groups;
106#endif
107#ifdef SO_SETFIB
108 int listen_setfib;
109#endif
110};
111
113 char *name;
114 char *(*parser)(zval *, void **, intptr_t);
115 intptr_t offset;
116};
117
118enum {
122};
123
124int fpm_conf_init_main(int test_conf, int force_daemon);
126int fpm_conf_write_pid(void);
127int fpm_conf_unlink_pid(void);
128
129#endif
struct fpm_global_config_s fpm_global_config
Definition fpm_conf.c:64
@ PM_STYLE_ONDEMAND
Definition fpm_conf.h:121
@ PM_STYLE_DYNAMIC
Definition fpm_conf.h:120
@ PM_STYLE_STATIC
Definition fpm_conf.h:119
int fpm_worker_pool_config_free(struct fpm_worker_pool_config_s *wpc)
Definition fpm_conf.c:662
int fpm_conf_unlink_pid(void)
Definition fpm_conf.c:1240
int fpm_conf_init_main(int test_conf, int force_daemon)
Definition fpm_conf.c:1836
int fpm_conf_write_pid(void)
Definition fpm_conf.c:1251
int emergency_restart_threshold
Definition fpm_conf.h:34
char * events_mechanism
Definition fpm_conf.h:42
int emergency_restart_interval
Definition fpm_conf.h:35
int process_control_timeout
Definition fpm_conf.h:36
char * security_limit_extensions
Definition fpm_conf.h:95
int request_terminate_timeout_track_finished
Definition fpm_conf.h:87
struct key_value_s * php_admin_values
Definition fpm_conf.h:97
struct key_value_s * php_values
Definition fpm_conf.h:98
struct key_value_s * access_suppress_paths
Definition fpm_conf.h:82
struct key_value_s * env
Definition fpm_conf.h:96
char * key
Definition fpm_conf.h:17
struct key_value_s * next
Definition fpm_conf.h:16
char * value
Definition fpm_conf.h:18
struct _zval_struct zval