How can i change the default root directory to custom
e.g from xampp/htdocs folder to D:/Web projects
I have already tried all the mention methods here and on alot of places none of them working it seems. Any help would be appreciated.
Find the xampp/conf/httpd.conf then change the 'DocumentRoot' to the new directory, also change the 'Directory' tag to the new directory then save the file and restart apache server.