The WAMP installation process sets the Web site's root directory to the WWW directory, where it is documented to define its own root directory so that it is later needed to view
1. Start Wampserver, left-click to select Httpd.conf under Apache, change the path of DocumentRoot and <Directory> in the file to the path of the project folder you created, I put it in e:/owner/ Php/demo
2. Test whether the modification is successful: You can create a new test.php file under the Demo folder, enter <?php echo "Test", and after saving, open the browser input http://localhost:8088/ test.php running the file, the test on the page shows that the modification was successful
3. Locate the Wampmanager.ini file in the Wamp directory, and change the path of the menu.left after the WWW directory and directory to its own directory and path (here in the modification is, careless of the E disk written F disk ╮ (╯_╰) ╭)
4. Locate the Wampmanager.tpl file in the Wamp directory, and change the path of the WWW directory and directory after menu.left in the file to your own directory and path.
5. After modifying the configuration file, you need to exit Wampserver, restart, and then left click Wamp,www Directory to become the demo directory.
Getting Started with PHP, configuring Wampserver