Lines Matching refs:doc_root
785 static void php_cgi_ini_activate_user_config(char *path, size_t path_len, const char *doc_root, siz… argument
820 s1 = (char *) doc_root;
825 s2 = (char *) doc_root;
918 char *doc_root; local
923 doc_root = FCGI_GETENV(request, "DOCUMENT_ROOT");
925 doc_root = getenv("DOCUMENT_ROOT");
928 if (doc_root) {
929 size_t doc_root_len = strlen(doc_root);
930 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
935 doc_root = estrndup(doc_root, doc_root_len);
936 zend_str_tolower(doc_root, doc_root_len);
938 php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len);
941 efree(doc_root);
1238 if (!env_document_root && PG(doc_root)) {
1239 env_document_root = CGI_PUTENV("DOCUMENT_ROOT", PG(doc_root));