WampServer is a web development environment for windows operating system. We can use it easily where it allows us to create a web application with PHP, Apache, MySQL database. But we have to face different problems after the installation of this program such as, default browser selection, default code editor and default Apache root directory. Here we can change everything after installation of the WampServer. To change the www root directory of Apache, we can follow the below methods.
- First open the WampServer
- Click on the WampServer icon from the taskbar when it turns green
- Then click on Apache
- From there go to httpd-vhosts.conf & click on it
- The file will be opened with your default editor and from the opening window change the Document & Directory location with your one
- Now save the file
- Restart your WampServer, DONE !
- "DocumentRoot c:/wamp64/www" &
- <Directory c:/wamp64/www/">
- "DocumentRoot d:/www" &
- <Directory d:/www/">
C:\wamp64\bin\apache\apache2.4.23\conf\original\extra---//
0 comments:
__আপনার মতামত নিচে লিখুন। ধন্যবাদ।__