1. Open Xampp folder. and search for a folder named "apache".
2. Now you'll see a folder "conf" inside apache folder. Open it.
3. Inside conf folder, there will be a file called "httpd.conf", Right click on it and Open it in notepad/notepad++.
4. Once file is opened in notepad. Press CTRL+F to find/search in file and search for "documentroot" and hit Enter as shown in the picture below.
5. As you can see in above picture, you'll get results. Now replace the path which is underlined with red line in above picture to whatever path you want to set. For example if you want to change it to any other drive or folder. change it to "d:/" at both places and path must be same in both lines.
2. Now you'll see a folder "conf" inside apache folder. Open it.
3. Inside conf folder, there will be a file called "httpd.conf", Right click on it and Open it in notepad/notepad++.
4. Once file is opened in notepad. Press CTRL+F to find/search in file and search for "documentroot" and hit Enter as shown in the picture below.
5. As you can see in above picture, you'll get results. Now replace the path which is underlined with red line in above picture to whatever path you want to set. For example if you want to change it to any other drive or folder. change it to "d:/" at both places and path must be same in both lines.
No comments:
Post a Comment