How to change the location of `web root` folder of EasyPHP?

后端 未结 4 877
梦毁少年i
梦毁少年i 2021-02-20 06:19

Currently on my Windows 7 machine, it is C:\\Program Files (x86)\\EasyPHP-5.3.8.1\\www

I want to point it into another location on drive D, says D:\\c

4条回答
  •  春和景丽
    2021-02-20 07:07

    Right click the EasyPHP icon, and select Configuration, then Apache. In httpd.conf, do a find for DocumentRoot. My folder is C:\php. Change these two lines:

    1. DocumentRoot "C:\php"

    2. (the first one just below DocumentRoot...)

    Once you have changed C:\php to wherever your directory is, right click the EasyPHP icon again and restart.

    My apologies, same answer as above. Did not see it until writing this. :-(

提交回复
热议问题