1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/* (c) 2007,2008 Andrei Nigmatulin */
#ifndef FPM_PHP_H
#define FPM_PHP_H 1
#include <TSRM.h>
#include "php.h"
#include "build-defs.h" /* for PHP_ defines */
#include "fpm/fpm_conf.h"
#define FPM_PHP_INI_TO_EXPAND \
{ \
"error_log", \
"extension_dir", \
"mime_magic.magicfile", \
"sendmail_path", \
"session.cookie_path", \
"session_pgsql.sem_file_name", \
"soap.wsdl_cache_dir", \
"uploadprogress.file.filename_template", \
"xdebug.output_dir", \
"xdebug.profiler_output_dir", \
"xdebug.trace_output_dir", \
"xmms.path", \
"axis2.client_home", \
"blenc.key_file", \
"coin_acceptor.device", \
NULL \
}
struct fpm_worker_pool_s;
int fpm_php_init_child(struct fpm_worker_pool_s *wp);
char *fpm_php_script_filename(void);
char *fpm_php_request_uri(void);
char *fpm_php_request_method(void);
char *fpm_php_query_string(void);
char *fpm_php_auth_user(void);
size_t fpm_php_content_length(void);
void fpm_php_soft_quit();
int fpm_php_init_main();
int fpm_php_apply_defines_ex(struct key_value_s *kv, int mode);
int fpm_php_limit_extensions(char *path);
char* fpm_php_get_string_from_table(zend_string *table, char *key);
#endif
|