0

For ex: my xampp htdocs path is

D:\xampp\htdocs

But i want to run a project in this folder

D:\php

when xampp is running how can i do that ?

CodeLover1540
  • 101
  • 1
  • 10

2 Answers2

0

You just have to edit your Apache httpd.conf file. Look for DocumentRoot and point it to your new folder. You have to restart Apache for it to work

Rene Trujillo
  • 379
  • 3
  • 16
0

Make your folder php in D: then goto xampp folder and rename htdocs to anything you want and run the following command in cmd

mklink /J C:\xampp\htdocs D:\php

Output Put Will Be Like This:

C:\Users>mklink /J C:\xampp\htdocs D:\php
Junction created for C:\xampp\htdocs <<===>> D:\php
hassan ali
  • 44
  • 5