0

Sorry for the easy question.. I installed XAMPP. When i go to localhost in browser, the directory called "c:\xampp\htdocs\" is opening. I want to change the address of localhost to something like "d:\works\php\" Which file/part should i edit? Thank you

MadHatter
  • 78,442
  • 20
  • 178
  • 229
trante
  • 131
  • 5

1 Answers1

0

You need to change the DocumentRoot setting in XAMPP\apache\conf\httpd.conf:

c:\xampp\htdocs\

to

d:\works\php\
Andrejs Cainikovs
  • 1,611
  • 1
  • 14
  • 20