Searched refs:doc_root (Results 1 – 13 of 13) sorted by relevance
/PHP-7.1/sapi/cli/tests/ |
H A D | php_cli_server.inc | 8 $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 D | php_cli_server_012.phpt | 11 $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 D | php_cli_server.inc | 8 $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 D | server.inc | 13 $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 D | fpm_main.c | 707 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 D | lsapi_main.c | 415 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 D | cgi_main.c | 829 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 D | php_globals.h | 82 char *doc_root; member
|
H A D | fopen_wrappers.c | 407 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 D | main.c | 590 …STD_PHP_INI_ENTRY("doc_root", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, doc_root, php_c…
|
/PHP-7.1/win32/ |
H A D | install.txt | 296 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 D | php.ini-development | 722 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 727 doc_root =
|
H A D | php.ini-production | 722 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 727 doc_root =
|
Completed in 105 milliseconds