Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/28.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
xampp for Windows:如何选择绝对路径?_Windows_Linux_Xampp_Absolute Path - Fatal编程技术网

xampp for Windows:如何选择绝对路径?

xampp for Windows:如何选择绝对路径?,windows,linux,xampp,absolute-path,Windows,Linux,Xampp,Absolute Path,我的文件在linux主机上,绝对路径是/home/kat/public\u html/sites/kats 现在我想知道如何在Windows下的xampp中选择web目录的绝对路径 非常感谢您的帮助 在带有默认参数的XAMPP安装中,根目录应位于: “c:\Program Files\xampp\htdocs\”,因此您的网站必须位于: “c:\Program Files\xampp\htdocs\kats” 根目录可以在“httpd.conf”apache配置文件中更改,默认位置为: c:\P

我的文件在linux主机上,绝对路径是
/home/kat/public\u html/sites/kats

现在我想知道如何在Windows下的xampp中选择web目录的绝对路径


非常感谢您的帮助

在带有默认参数的XAMPP安装中,根目录应位于: “c:\Program Files\xampp\htdocs\”,因此您的网站必须位于: “c:\Program Files\xampp\htdocs\kats”

根目录可以在“httpd.conf”apache配置文件中更改,默认位置为: c:\ProgramFiles\xampp\apache\conf\httpd.conf 有一个名为“DocumentRoot”的变量,默认值设置为: “C:/Program Files/xampp/htdocs”