Searched defs:sapi_module (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c793 static int php_nsapi_startup(sapi_module_struct *sapi_module) argument
795 if (php_module_startup(sapi_module, &nsapi_module_entry, 1)==FAILURE) {
/PHP_TRUNK/sapi/litespeed/
H A Dlsapi_main.c91 static int php_lsapi_startup(sapi_module_struct *sapi_module) argument
93 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
96 argv0 = sapi_module->executable_location;
212 if (sapi_module.input_filter(filter_arg, (char *)pKey, &new_val, valLen, &new_val_len)) {
810 php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2015 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
812 php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2015 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c555 if (var && sapi_module.input_filter(filter_arg, var->val, &val, strlen(val), &new_val_len)) {
589 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
596 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
802 static int php_cgi_startup(sapi_module_struct *sapi_module) argument
804 if (php_module_startup(sapi_module, &cgi_module_entry, 1) == FAILURE) {
1684 php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2015 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
1686 php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2015 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c597 if (sapi_module.input_filter(filter_arg, var, &val, strlen(val), &new_val_len)) {
680 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
689 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, php_self_len, &php_self_len)) {
905 static int php_cgi_startup(sapi_module_struct *sapi_module) argument
907 if (php_module_startup(sapi_module, &cgi_module_entry, 1) == FAILURE) {
2208 php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2015 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
2210 php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2015 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
/PHP_TRUNK/sapi/cli/
H A Dphp_cli.c355 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &php_self, len, &len)) {
358 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_NAME", &php_self, len, &len)) {
363 if (sapi_module.input_filter(PARSE_SERVER, "SCRIPT_FILENAME", &script_filename, len, &len)) {
366 if (sapi_module.input_filter(PARSE_SERVER, "PATH_TRANSLATED", &script_filename, len, &len)) {
371 if (sapi_module.input_filter(PARSE_SERVER, "DOCUMENT_ROOT", &docroot, len, &len)) {
419 static int php_cli_startup(sapi_module_struct *sapi_module) /* {{{ */ argument
421 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
1195 sapi_module_struct *sapi_module = &cli_sapi_module; local
1291 sapi_module = &cli_server_sapi_module;
1300 sapi_module
[all...]
H A Dphp_cli_server.c483 static int sapi_cli_server_startup(sapi_module_struct *sapi_module) /* {{{ */ argument
485 if (php_module_startup(sapi_module, &cli_server_module_entry, 1) == FAILURE) {
593 if (sapi_module.input_filter(PARSE_SERVER, (char*)key, &new_val, strlen(val), &new_val_len)) {
1173 if (sapi_module.log_message) {
1174 sapi_module.log_message(buf);
2097 send_header_func = sapi_module.send_headers;
2101 sapi_module.send_headers = sapi_cli_server_discard_headers;
2103 sapi_module.send_headers = send_header_func;
2495 sapi_module.phpinfo_as_text = 0;
/PHP_TRUNK/sapi/embed/
H A Dphp_embed.c107 static int php_embed_startup(sapi_module_struct *sapi_module) argument
109 if (php_module_startup(sapi_module, NULL, 0)==FAILURE) {
/PHP_TRUNK/sapi/apache2handler/
H A Dsapi_apache2.c287 if (sapi_module.input_filter(PARSE_SERVER, key, &val, strlen(val), &new_val_len)) {
292 if (sapi_module.input_filter(PARSE_SERVER, "PHP_SELF", &ctx->r->uri, strlen(ctx->r->uri), &new_val_len)) {
353 static int php_apache2_startup(sapi_module_struct *sapi_module) argument
355 if (php_module_startup(sapi_module, &php_apache_module, 1)==FAILURE) {
/PHP_TRUNK/main/
H A DSAPI.c81 SAPI_API sapi_module_struct sapi_module; variable
87 sapi_module = *sf;
224 if (!sapi_module.default_post_reader) {
227 sapi_module.sapi_error(E_WARNING, "Unsupported content type: '%s'", content_type);
241 if(sapi_module.default_post_reader) {
242 sapi_module.default_post_reader();
250 if (!sapi_module.read_post) {
254 read_bytes = sapi_module.read_post(buffer, buflen);
279 if (sapi_module.read_post) {
425 SG(request_info).cookie_data = sapi_module
[all...]

Completed in 22 milliseconds