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

/PHP_5_4/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 -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 -S " . PHP_CLI_SERVER_ADDRESS;
35 $handle = proc_open($cmd, $descriptorspec, $pipes, $doc_root);
/PHP_5_4/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.c525 STD_PHP_INI_ENTRY("doc_root", NULL, PHP_INI_SYSTEM, OnUpdateStringUnempty, doc_root, php_core_globals, core_globals)
/PHP_5_4/sapi/cgi/
H A Dcgi_main.c181 * the path starting from doc_root throught to dirname(PATH_TRANSLATED). There is no point
751 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
788 s1 = (char *) doc_root;
793 s2 = (char *) doc_root;
806 ptr = s2 + start; /* start is the point where doc_root ends! */
830 char *path, *doc_root, *server_name; local
883 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
885 doc_root = getenv("DOCUMENT_ROOT");
889 if (doc_root) {
890 doc_root_len = strlen(doc_root);
[all...]
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_main.c181 * the path starting from doc_root throught to dirname(PATH_TRANSLATED). There is no point
691 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
728 s1 = (char *) doc_root;
733 s2 = (char *) doc_root;
746 ptr = s2 + start; /* start is the point where doc_root ends! */
767 char *path, *doc_root, *server_name; local
811 doc_root = sapi_cgibin_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT") - 1 TSRMLS_CC);
813 if (doc_root) {
814 doc_root_len = strlen(doc_root);
815 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_le
[all...]

Completed in 32 milliseconds