Lines Matching refs:doc_root
715 static void php_cgi_ini_activate_user_config(char *path, int path_len, const char *doc_root, int do… argument
753 s1 = (char *) doc_root;
758 s2 = (char *) doc_root;
795 char *path, *doc_root, *server_name; local
839 doc_root = sapi_cgibin_getenv("DOCUMENT_ROOT", sizeof("DOCUMENT_ROOT") - 1 TSRMLS_CC);
841 if (doc_root) {
842 doc_root_len = strlen(doc_root);
843 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
848 doc_root = estrndup(doc_root, doc_root_len);
849 zend_str_tolower(doc_root, doc_root_len);
851 …php_cgi_ini_activate_user_config(path, path_len, doc_root, doc_root_len, doc_root_len - 1 TSRMLS_C…
854 efree(doc_root);
1140 if (!env_document_root && PG(doc_root)) {
1141 env_document_root = _sapi_cgibin_putenv("DOCUMENT_ROOT", PG(doc_root) TSRMLS_CC);