Searched refs:doc_root (Results 1 – 12 of 12) sorted by relevance
/PHP-8.0/sapi/cli/tests/ |
H A D | php_cli_server_012.phpt | 11 $doc_root = __DIR__; 12 file_put_contents($doc_root . '/request.php', '<?php print_r($_REQUEST); ?>'); 32 @unlink($doc_root . '/request.php');
|
H A D | php_cli_server.inc | 12 $doc_root = __DIR__; 16 file_put_contents($doc_root . '/' . ($router ?: 'index.php'), '<?php ' . $code . ' ?>'); 19 $cmd = [$php_executable, '-t', $doc_root, '-n', ...$cmd_args, '-S', PHP_CLI_SERVER_ADDRESS]; 29 …$handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root, null, array("suppress_errors" => tru…
|
/PHP-8.0/ext/opcache/tests/ |
H A D | php_cli_server.inc | 8 $doc_root = __DIR__; 14 $cmd = [$php_executable, '-t', $doc_root, '-n', ...$ini_array, '-S', PHP_CLI_SERVER_ADDRESS]; 20 …$handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root, null, array("suppress_errors" => tru…
|
/PHP-8.0/ext/curl/tests/ |
H A D | server.inc | 9 $doc_root = __DIR__; 11 $cmd = [$php_executable, '-t', $doc_root, '-n', '-S', 'localhost:0', $router]; 17 …$handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root, null, array("suppress_errors" => tru…
|
/PHP-8.0/sapi/cgi/ |
H A D | cgi_main.c | 815 s1 = (char *) doc_root; 820 s2 = (char *) doc_root; 913 char *doc_root; local 918 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); 920 doc_root = getenv("DOCUMENT_ROOT"); 923 if (doc_root) { 924 size_t doc_root_len = strlen(doc_root); 930 doc_root = estrndup(doc_root, doc_root_len); 931 zend_str_tolower(doc_root, doc_root_len); 936 efree(doc_root); [all …]
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_main.c | 617 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int do… in php_cgi_ini_activate_user_config() argument 653 s1 = (char *) doc_root; in php_cgi_ini_activate_user_config() 658 s2 = (char *) doc_root; in php_cgi_ini_activate_user_config() 689 char *path, *doc_root, *server_name; in sapi_cgi_activate() local 733 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); in sapi_cgi_activate() 735 if (doc_root) { in sapi_cgi_activate() 736 doc_root_len = strlen(doc_root); in sapi_cgi_activate() 737 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) { in sapi_cgi_activate() 741 php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len); in sapi_cgi_activate() 1065 if (!env_document_root && PG(doc_root)) { in init_request_info() [all …]
|
/PHP-8.0/main/ |
H A D | php_globals.h | 77 char *doc_root; member
|
H A D | fopen_wrappers.c | 400 if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) && 401 IS_ABSOLUTE_PATH(PG(doc_root), length)) { 404 memcpy(filename, PG(doc_root), length);
|
H A D | main.c | 714 …STD_PHP_INI_ENTRY("doc_root", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, doc_root, php_c…
|
/PHP-8.0/sapi/litespeed/ |
H A D | lsapi_main.c | 909 char *doc_root; member 932 ctx->doc_root = sapi_lsapi_getenv("DOCUMENT_ROOT", 0); in lsapi_activate_user_ini_basic_checks() 933 DEBUG_MESSAGE("doc_root: %s", ctx->doc_root); in lsapi_activate_user_ini_basic_checks() 1035 docroot_len = ctx->doc_root && ctx->doc_root[0] in lsapi_activate_user_ini_walk_down_the_path() 1036 ? pathlen_without_trailing_slash(ctx->doc_root) in lsapi_activate_user_ini_walk_down_the_path() 1041 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path() 1047 walk_down_the_path(ctx->doc_root, ctx->path, in lsapi_activate_user_ini_walk_down_the_path()
|
/PHP-8.0/ |
H A D | php.ini-development | 752 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 757 doc_root =
|
H A D | php.ini-production | 754 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 759 doc_root =
|
Completed in 54 milliseconds