wampServer 2.5 64位 更改"www 目录"不成功
已经指到自己新目录了,修改了 apache的httpd.conf里面的内容如下
修改: DocumentRoot "e:/phproot/"
修改: <Directory "e:/phproot/">
再修改wampmanager.ini和wampmanager.tpl
1 修改C:\wamp\wampmanager.ini:
(1)打开:C:\wamp\wampmanager.ini
(2)查找:Type: item; Caption: "www 目录"; Action: shellexecute; FileName: "c:/wamp/www/"; Glyph: 2
(3)修改:Type: item; Caption: "www 目录"; Action: shellexecute; FileName: "e:/phproot/"; Glyph: 2
2 修改C:\wamp\wampmanager.tpl:
(1)打开:C:\wamp\wampmanager.tpl
(2)查找:Type: item; Caption: "${w_wwwDirectory}"; Action: shellexecute; FileName: "${wwwdir}"; Glyph: 2
(3)修改:Type: item; Caption: "${w_wwwDirectory}"; Action: shellexecute; FileName: "e:/phproot"; Glyph: 2
需要修改这个才生效很多人只修改了上面
<VirtualHost *:80> ServerName localhost DocumentRoot d:/wamp64/www <Directory "d:/wamp64/www/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost>
早年同窗始相知,三载瞬逝情却萌。年少不知愁滋味,犹读红豆生南国。别离方知相思苦,心田红豆根以生。