wampserver website www root directory under the installation directory, if you need to modify the root directory of the site, you first need to left-click on the desktop wamp icon to open the file under the Apache httpd.conf options, search documentroot, you change the path desired path; the figure below shows a good path has been changed
and then restart WampServer, in order to test whether the modification is successful, you can create a php file in the directory, and open it in the browser; the figure below
WampServer modify the site root
Guess you like
Origin blog.csdn.net/weixin_41872559/article/details/104083975
Recommended
Ranking