Searched refs:doc_root (Results 1 – 13 of 13) sorted by relevance
/PHP-7.0/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… 28 $cmd = "exec {$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS; 34 $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.0/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… 20 $cmd = "exec {$php_executable} -t {$doc_root} $ini -S " . PHP_CLI_SERVER_ADDRESS . " 2>/dev/null"; 21 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
|
/PHP-7.0/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… 27 $cmd = "exec {$php_executable} -t {$doc_root} -n -S " . PHP_CURL_SERVER_ADDRESS; 31 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
|
/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_main.c | 706 s1 = (char *) doc_root; 711 s2 = (char *) doc_root; 746 char *path, *doc_root, *server_name; local 790 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); 792 if (doc_root) { 793 doc_root_len = strlen(doc_root); 794 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) { 799 doc_root = estrndup(doc_root, doc_root_len); 800 zend_str_tolower(doc_root, doc_root_len); 807 efree(doc_root); [all …]
|
/PHP-7.0/sapi/cgi/ |
H A D | cgi_main.c | 770 s1 = (char *) doc_root; 775 s2 = (char *) doc_root; 812 char *path, *doc_root, *server_name; local 865 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); 867 doc_root = getenv("DOCUMENT_ROOT"); 870 if (doc_root) { 871 doc_root_len = strlen(doc_root); 877 doc_root = estrndup(doc_root, doc_root_len); 878 zend_str_tolower(doc_root, doc_root_len); 883 efree(doc_root); [all …]
|
/PHP-7.0/sapi/litespeed/ |
H A D | lsapi_main.c | 651 char *doc_root; member 674 ctx->doc_root = sapi_lsapi_getenv("DOCUMENT_ROOT", 0); in lsapi_activate_user_ini_basic_checks() 675 DEBUG_MESSAGE("doc_root: %s", ctx->doc_root); in lsapi_activate_user_ini_basic_checks() 785 docroot_len = ctx->doc_root && ctx->doc_root[0] in lsapi_activate_user_ini_walk_down_the_path() 786 ? pathlen_without_trailing_slash(ctx->doc_root) in lsapi_activate_user_ini_walk_down_the_path() 791 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path() 797 walk_down_the_path(ctx->doc_root, ctx->path, in lsapi_activate_user_ini_walk_down_the_path()
|
/PHP-7.0/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 | 550 …STD_PHP_INI_ENTRY("doc_root", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, doc_root, php_c…
|
/PHP-7.0/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.0/ |
H A D | php.ini-development | 707 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 712 doc_root =
|
H A D | php.ini-production | 707 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 712 doc_root =
|
Completed in 62 milliseconds