Home
last modified time | relevance | path

Searched refs:doc_root (Results 1 – 12 of 12) sorted by relevance

/PHP-7.3/sapi/cli/tests/
H A Dphp_cli_server.inc8 $doc_root = __DIR__;
11 file_put_contents($doc_root . '/' . ($router ?: 'index.php'), '<?php ' . $code . ' ?>');
21 $cmd = "{$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS;
26 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
34 $cmd = "exec {$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS;
40 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
H A Dphp_cli_server_012.phpt11 $doc_root = __DIR__;
12 file_put_contents($doc_root . '/request.php', '<?php print_r($_REQUEST); ?>');
37 @unlink($doc_root . '/request.php');
/PHP-7.3/ext/opcache/tests/
H A Dphp_cli_server.inc8 $doc_root = __DIR__;
17 $cmd = "{$php_executable} -t {$doc_root} $ini -S " . PHP_CLI_SERVER_ADDRESS;
18 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
26 $cmd = "exec {$php_executable} -t {$doc_root} $ini -S " . PHP_CLI_SERVER_ADDRESS . " 2>/dev/null";
27 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP-7.3/ext/curl/tests/
H A Dserver.inc13 $doc_root = __DIR__;
23 $cmd = "{$php_executable} -t {$doc_root} -n -S " . PHP_CURL_SERVER_ADDRESS;
25 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
33 $cmd = "exec {$php_executable} -t {$doc_root} -n -S " . PHP_CURL_SERVER_ADDRESS;
37 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP-7.3/sapi/cgi/
H A Dcgi_main.c827 s1 = (char *) doc_root;
832 s2 = (char *) doc_root;
925 char *doc_root; local
930 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
932 doc_root = getenv("DOCUMENT_ROOT");
935 if (doc_root) {
936 size_t doc_root_len = strlen(doc_root);
942 doc_root = estrndup(doc_root, doc_root_len);
943 zend_str_tolower(doc_root, doc_root_len);
948 efree(doc_root);
[all …]
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_main.c630 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
666 s1 = (char *) doc_root; in php_cgi_ini_activate_user_config()
671 s2 = (char *) doc_root; in php_cgi_ini_activate_user_config()
702 char *path, *doc_root, *server_name; in sapi_cgi_activate() local
746 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); in sapi_cgi_activate()
748 if (doc_root) { in sapi_cgi_activate()
749 doc_root_len = strlen(doc_root); in sapi_cgi_activate()
750 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) { in sapi_cgi_activate()
754 php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len); in sapi_cgi_activate()
1082 if (!env_document_root && PG(doc_root)) { in init_request_info()
[all …]
/PHP-7.3/main/
H A Dphp_globals.h79 char *doc_root; member
H A Dfopen_wrappers.c403 if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) &&
404 IS_ABSOLUTE_PATH(PG(doc_root), length)) {
407 memcpy(filename, PG(doc_root), length);
H A Dmain.c745 …STD_PHP_INI_ENTRY("doc_root", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, doc_root, php_c…
/PHP-7.3/sapi/litespeed/
H A Dlsapi_main.c931 char *doc_root; member
954 ctx->doc_root = sapi_lsapi_getenv("DOCUMENT_ROOT", 0); in lsapi_activate_user_ini_basic_checks()
955 DEBUG_MESSAGE("doc_root: %s", ctx->doc_root); in lsapi_activate_user_ini_basic_checks()
1057 docroot_len = ctx->doc_root && ctx->doc_root[0] in lsapi_activate_user_ini_walk_down_the_path()
1058 ? pathlen_without_trailing_slash(ctx->doc_root) in lsapi_activate_user_ini_walk_down_the_path()
1063 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path()
1069 walk_down_the_path(ctx->doc_root, ctx->path, in lsapi_activate_user_ini_walk_down_the_path()
/PHP-7.3/
H A Dphp.ini-development738 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
743 doc_root =
H A Dphp.ini-production740 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
745 doc_root =

Completed in 74 milliseconds