Searched refs:doc_root (Results 1 - 8 of 8) sorted by relevance

/PHP_TRUNK/sapi/cli/tests/
H A Dphp_cli_server.inc8 $doc_root = __DIR__;
12 file_put_contents($doc_root . '/' . $router, '<?php ' . $code . ' ?>');
22 $cmd = "{$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS;
27 $handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shell" => true, "suppress_errors" => true));
29 $cmd = "exec {$php_executable} -t {$doc_root} -n {$cmd_args} -S " . PHP_CLI_SERVER_ADDRESS;
35 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP_TRUNK/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_shell" => true, "suppress_errors" => true));
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_TRUNK/main/
H A Dfopen_wrappers.c411 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 Dphp_globals.h82 char *doc_root; member in struct:_php_core_globals
H A Dmain.c563 STD_PHP_INI_ENTRY("doc_root", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, doc_root, php_core_globals, core_globals)
/PHP_TRUNK/sapi/cgi/
H A Dcgi_main.c181 * the path starting from doc_root throught to dirname(PATH_TRANSLATED). There is no point
754 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int doc_root_len, int start TSRMLS_DC) argument
791 s1 = (char *) doc_root;
796 s2 = (char *) doc_root;
809 ptr = s2 + start; /* start is the point where doc_root ends! */
833 char *path, *doc_root, *server_name; local
886 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
888 doc_root = getenv("DOCUMENT_ROOT");
891 if (doc_root) {
892 doc_root_len = strlen(doc_root);
[all...]
/PHP_TRUNK/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_shell" => true, "suppress_errors" => true));
27 $cmd = "exec {$php_executable} -t {$doc_root} -n -S " . PHP_CURL_SERVER_ADDRESS;
31 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_main.c182 * the path starting from doc_root throught to dirname(PATH_TRANSLATED). There is no point
695 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int doc_root_len, int start TSRMLS_DC) argument
732 s1 = (char *) doc_root;
737 s2 = (char *) doc_root;
750 ptr = s2 + start; /* start is the point where doc_root ends! */
771 char *path, *doc_root, *server_name; local
815 doc_root = sapi_cgibin_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT") - 1 TSRMLS_CC);
817 if (doc_root) {
818 doc_root_len = strlen(doc_root);
819 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_le
[all...]

Completed in 12 milliseconds