php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
fpm_php.c File Reference
#include "fpm_config.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "php.h"
#include "php_main.h"
#include "php_ini.h"
#include "ext/standard/dl.h"
#include "fastcgi.h"
#include "fpm.h"
#include "fpm_php.h"
#include "fpm_cleanup.h"
#include "fpm_worker_pool.h"
#include "zlog.h"

Go to the source code of this file.

Macros

#define FPM_PHP_INI_ALTERING_ERROR   -1
 
#define FPM_PHP_INI_APPLIED   1
 
#define FPM_PHP_INI_EXTENSION_FAILED   0
 
#define FPM_PHP_INI_EXTENSION_LOADED   2
 

Functions

int fpm_php_apply_defines_ex (struct key_value_s *kv, int mode)
 
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 (void)
 
int fpm_php_init_main (void)
 
int fpm_php_init_child (struct fpm_worker_pool_s *wp)
 
int fpm_php_limit_extensions (char *path)
 
bool fpm_php_is_key_in_table (zend_string *table, const char *key, size_t key_len)
 

Macro Definition Documentation

◆ FPM_PHP_INI_ALTERING_ERROR

#define FPM_PHP_INI_ALTERING_ERROR   -1

Definition at line 80 of file fpm_php.c.

◆ FPM_PHP_INI_APPLIED

#define FPM_PHP_INI_APPLIED   1

Definition at line 81 of file fpm_php.c.

◆ FPM_PHP_INI_EXTENSION_FAILED

#define FPM_PHP_INI_EXTENSION_FAILED   0

Definition at line 82 of file fpm_php.c.

◆ FPM_PHP_INI_EXTENSION_LOADED

#define FPM_PHP_INI_EXTENSION_LOADED   2

Definition at line 83 of file fpm_php.c.

Function Documentation

◆ fpm_php_apply_defines_ex()

int fpm_php_apply_defines_ex ( struct key_value_s * kv,
int mode )

Definition at line 85 of file fpm_php.c.

◆ fpm_php_auth_user()

char * fpm_php_auth_user ( void )

Definition at line 211 of file fpm_php.c.

◆ fpm_php_content_length()

size_t fpm_php_content_length ( void )

Definition at line 216 of file fpm_php.c.

◆ fpm_php_init_child()

int fpm_php_init_child ( struct fpm_worker_pool_s * wp)

Definition at line 244 of file fpm_php.c.

◆ fpm_php_init_main()

int fpm_php_init_main ( void )

Definition at line 236 of file fpm_php.c.

◆ fpm_php_is_key_in_table()

bool fpm_php_is_key_in_table ( zend_string * table,
const char * key,
size_t key_len )

Definition at line 288 of file fpm_php.c.

◆ fpm_php_limit_extensions()

int fpm_php_limit_extensions ( char * path)

Definition at line 260 of file fpm_php.c.

◆ fpm_php_query_string()

char * fpm_php_query_string ( void )

Definition at line 206 of file fpm_php.c.

◆ fpm_php_request_method()

char * fpm_php_request_method ( void )

Definition at line 201 of file fpm_php.c.

◆ fpm_php_request_uri()

char * fpm_php_request_uri ( void )

Definition at line 196 of file fpm_php.c.

◆ fpm_php_script_filename()

char * fpm_php_script_filename ( void )

Definition at line 191 of file fpm_php.c.

◆ fpm_php_soft_quit()

void fpm_php_soft_quit ( void )

Definition at line 231 of file fpm_php.c.