Home
last modified time | relevance | path

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

/PHP-7.1/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.1/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.1/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.1/sapi/fpm/fpm/
H A Dfpm_main.c707 s1 = (char *) doc_root;
712 s2 = (char *) doc_root;
747 char *path, *doc_root, *server_name; local
791 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
793 if (doc_root) {
794 doc_root_len = strlen(doc_root);
795 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
800 doc_root = estrndup(doc_root, doc_root_len);
801 zend_str_tolower(doc_root, doc_root_len);
808 efree(doc_root);
[all …]
/PHP-7.1/sapi/litespeed/
H A Dlsapi_main.c415 char *path, *doc_root, *server_name; in sapi_lsapi_activate() local
683 char *doc_root; member
706 ctx->doc_root = sapi_lsapi_getenv("DOCUMENT_ROOT", 0); in lsapi_activate_user_ini_basic_checks()
707 DEBUG_MESSAGE("doc_root: %s", ctx->doc_root); in lsapi_activate_user_ini_basic_checks()
811 docroot_len = ctx->doc_root && ctx->doc_root[0] in lsapi_activate_user_ini_walk_down_the_path()
812 ? pathlen_without_trailing_slash(ctx->doc_root) in lsapi_activate_user_ini_walk_down_the_path()
817 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path()
823 walk_down_the_path(ctx->doc_root, ctx->path, in lsapi_activate_user_ini_walk_down_the_path()
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c829 s1 = (char *) doc_root;
834 s2 = (char *) doc_root;
871 char *path, *doc_root, *server_name; local
924 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
926 doc_root = getenv("DOCUMENT_ROOT");
929 if (doc_root) {
930 doc_root_len = strlen(doc_root);
936 doc_root = estrndup(doc_root, doc_root_len);
937 zend_str_tolower(doc_root, doc_root_len);
942 efree(doc_root);
[all …]
/PHP-7.1/main/
H A Dphp_globals.h82 char *doc_root; member
H A Dfopen_wrappers.c407 if (PG(doc_root) && path_info && (length = (int)strlen(PG(doc_root))) &&
408 IS_ABSOLUTE_PATH(PG(doc_root), length)) {
412 memcpy(filename, PG(doc_root), length);
H A Dmain.c590 …STD_PHP_INI_ENTRY("doc_root", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, doc_root, php_c…
/PHP-7.1/win32/
H A Dinstall.txt296 follow the next step. Set the doc_root to point to your web servers
299 doc_root = c:\inetpub\wwwroot // for IIS
301 doc_root = c:\apache\htdocs // for Apache
392 * Be sure the extension_dir and doc_root PHP directives are
396 extensions_dir value is "c:\php\ext" and an example IIS doc_root
/PHP-7.1/
H A Dphp.ini-development722 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
727 doc_root =
H A Dphp.ini-production722 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
727 doc_root =

Completed in 105 milliseconds