[英]how to configure xampp in windows if project files are not in root directory
我正在使用Windows。我的xampp安装在驱动器C中,首先我在文件中工作
C->xampp->htdocs->SVN data->php_clients->trunks->myproject
但是比起SVN,我现在将所有文件复制粘贴到这里SVN在这里配置
D->SVN data->php_clients->trunks->myproject
我正在本地测试我的项目,我的意思是在本地主机,首先是在
C->xampp->htdocs->SVN data->php_clients->trunks->myproject
所以我现在可以工作,测试,更新,我想可以在这里的文件中工作
D->SVN data->php_clients->trunks->myproject
但是问题是xampp的一种好又简单的方法是什么,以便我在这里工作并在本地工作,即localhost
D->SVN data->php_clients->trunks->myproject
go here that is C:\xampp\apache\conf\httpd.conf
open httpd.conf
Find This DocumentRoot "C:/xampp/htdocs" Edit this to
DocumentRoot "D:/SVN data/php_clients/trunks/myproject"
after that find this tag
<Directory> and make it like this
<Directory "D:/SVN data/php_clients/trunks/myproject">
Restart Your Apache go to browser write http://localhost in address bar and see your app
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.