Searched refs:doc_root (Results 1 – 14 of 14) sorted by relevance
/PHP-5.6/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-5.6/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-5.6/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-5.6/sapi/fpm/fpm/ |
H A D | fpm_main.c | 737 s1 = (char *) doc_root; 742 s2 = (char *) doc_root; 776 char *path, *doc_root, *server_name; local 822 if (doc_root) { 823 doc_root_len = strlen(doc_root); 824 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) { 829 doc_root = estrndup(doc_root, doc_root_len); 830 zend_str_tolower(doc_root, doc_root_len); 837 efree(doc_root); 1174 if (!env_document_root && PG(doc_root)) { [all …]
|
/PHP-5.6/sapi/cgi/ |
H A D | cgi_main.c | 799 s1 = (char *) doc_root; 804 s2 = (char *) doc_root; 841 char *path, *doc_root, *server_name; local 894 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT"); 896 doc_root = getenv("DOCUMENT_ROOT"); 899 if (doc_root) { 900 doc_root_len = strlen(doc_root); 906 doc_root = estrndup(doc_root, doc_root_len); 907 zend_str_tolower(doc_root, doc_root_len); 912 efree(doc_root); [all …]
|
/PHP-5.6/main/ |
H A D | php_globals.h | 82 char *doc_root; member
|
H A D | fopen_wrappers.c | 411 if (PG(doc_root) && path_info && (length = strlen(PG(doc_root))) && 412 IS_ABSOLUTE_PATH(PG(doc_root), length)) { 416 memcpy(filename, PG(doc_root), length);
|
H A D | main.c | 591 …STD_PHP_INI_ENTRY("doc_root", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, doc_root, php_c…
|
/PHP-5.6/sapi/litespeed/ |
H A D | lsapi_main.c | 838 char *doc_root; member 864 ctx->doc_root = sapi_lsapi_getenv("DOCUMENT_ROOT", 0 in lsapi_activate_user_ini_basic_checks() 869 DEBUG_MESSAGE("doc_root: %s", ctx->doc_root); in lsapi_activate_user_ini_basic_checks() 1010 docroot_len = ctx->doc_root && ctx->doc_root[0] in lsapi_activate_user_ini_walk_down_the_path() 1011 ? pathlen_without_trailing_slash(ctx->doc_root) in lsapi_activate_user_ini_walk_down_the_path() 1016 strncmp(ctx->path, ctx->doc_root, docroot_len) != 0; in lsapi_activate_user_ini_walk_down_the_path() 1025 walk_down_the_path(ctx->doc_root, ctx->path, in lsapi_activate_user_ini_walk_down_the_path()
|
/PHP-5.6/sapi/nsapi/ |
H A D | nsapi-readme.txt | 49 # directive, e.g. doc_root="/path"
|
/PHP-5.6/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-5.6/ |
H A D | php.ini-development | 718 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 723 doc_root =
|
H A D | php.ini-production | 718 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root 723 doc_root =
|
Completed in 55 milliseconds