WampServer modify the site root

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
Here Insert Picture Description
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
Here Insert Picture Description

Published an original article · won praise 0 · Views 51

Guess you like

Origin blog.csdn.net/weixin_41872559/article/details/104083975