备忘录
软件版本wampserver2.5-Apache-2.4.9-Mysql-5.6.17-php5.5.12-64b
-----------------------------------------------------------------------------------------
配置修改
自定义网站根目录:
1、修改Apache配置:找到 " 盘符:\wamp\bin\apache\apache2.4.9\conf\httpd.conf "下Apache配置文件,查找documentroot关键字,修改230行位置documentroot路径和252行<Directory "路径">标签对中的路径
2、修改WAMP菜单[www目录(W)]:在wamp根目录 " 盘符:\wamp "下,找到wampmanager.ini文件,查找Menu.Left关键字,在[Menu.Left]下的
Type: item; Caption: "www 目录"; Action: shellexecute; FileName: "d:/wamp/www"; Glyph: 2 中修改Caption(名字)和FileName(路径)
Type: item; Caption: "WAMPworkspace Ŀ¼"; Action: shellexecute; FileName: "E:/WAMPworkspace"; Glyph: 2
接着在同目录下找到wampmanager.tpl文件,查找Menu.Left关键字,在[Menu.Left]下的
Type: item; Caption: "${w_wwwDirectory}"; Action: shellexecute; FileName: "${wwwDir}"; Glyph: 2 中修改Caption(名字)和FileName(路径)
Type: item; Caption: "WAMPworkspace 目录"; Action: shellexecute; FileName: "E:/WAMPworkspace"; Glyph: 2
-----------------------------------------------------------------------------------------
问题一
Apache服务无法启动,WAMPServer图标处于粉红色
解决办法:卸载重装
-----------------------------------------------------------------------------------------