php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_apache.h File Reference
#include "httpd.h"
#include "http_config.h"
#include "http_core.h"
#include "http_log.h"
#include "php.h"
#include "main/php_streams.h"

Go to the source code of this file.

Data Structures

struct  php_struct
 
struct  php_apache2_info_struct
 

Macros

#define APR_ARRAY_FOREACH_OPEN(arr, key, val)
 
#define APR_ARRAY_FOREACH_CLOSE()
 
#define AP2(v)
 
#define AP_MODULE_DECLARE_DATA   PHPAPI
 

Typedefs

typedef struct php_struct php_struct
 

Functions

 APLOG_USE_MODULE (php)
 
voidmerge_php_config (apr_pool_t *p, void *base_conf, void *new_conf)
 
voidcreate_php_config (apr_pool_t *p, char *dummy)
 
char * get_php_config (void *conf, char *name, size_t name_len)
 
void apply_config (void *)
 
void php_ap2_register_hook (apr_pool_t *p)
 

Variables

char * apache2_php_ini_path_override
 
const command_rec php_dir_cmds []
 
zend_module_entry apache2_module_entry
 
php_apache2_info_struct php_apache2_info
 

Macro Definition Documentation

◆ AP2

#define AP2 ( v)
Value:
php_apache2_info_struct php_apache2_info

Definition at line 82 of file php_apache.h.

◆ AP_MODULE_DECLARE_DATA

#define AP_MODULE_DECLARE_DATA   PHPAPI

Definition at line 88 of file php_apache.h.

◆ APR_ARRAY_FOREACH_CLOSE

#define APR_ARRAY_FOREACH_CLOSE ( )
Value:
}}

Definition at line 66 of file php_apache.h.

◆ APR_ARRAY_FOREACH_OPEN

#define APR_ARRAY_FOREACH_OPEN ( arr,
key,
val )
Value:
{ \
apr_table_entry_t *elts; \
int i; \
elts = (apr_table_entry_t *) arr->elts; \
for (i = 0; i < arr->nelts; i++) { \
key = elts[i].key; \
val = elts[i].val;
zval * val
Definition ffi.c:4262
unsigned char key[REFLECTION_KEY_LEN]

Definition at line 57 of file php_apache.h.

Typedef Documentation

◆ php_struct

typedef struct php_struct php_struct

Function Documentation

◆ APLOG_USE_MODULE()

APLOG_USE_MODULE ( php )

◆ apply_config()

void apply_config ( void * dummy)

Definition at line 192 of file apache_config.c.

◆ create_php_config()

void * create_php_config ( apr_pool_t * p,
char * dummy )

Definition at line 231 of file apache_config.c.

◆ get_php_config()

char * get_php_config ( void * conf,
char * name,
size_t name_len )

Definition at line 180 of file apache_config.c.

◆ merge_php_config()

void * merge_php_config ( apr_pool_t * p,
void * base_conf,
void * new_conf )

Definition at line 149 of file apache_config.c.

◆ php_ap2_register_hook()

void php_ap2_register_hook ( apr_pool_t * p)

Definition at line 763 of file sapi_apache2.c.

Variable Documentation

◆ apache2_module_entry

zend_module_entry apache2_module_entry
extern

◆ apache2_php_ini_path_override

char* apache2_php_ini_path_override
extern

Definition at line 65 of file sapi_apache2.c.

◆ php_apache2_info

php_apache2_info_struct php_apache2_info
extern

Definition at line 56 of file php_functions.c.

◆ php_dir_cmds

const command_rec php_dir_cmds[]
extern

Definition at line 206 of file apache_config.c.