Maison > Article > développement back-end > 【03】WAMPServer集成环境下载跟安装
【03】WAMPServer集成环境下载和安装
WAMPServer集成环境下载和安装
1、W:windows,A:Apache,M:MySQL,P:PHP
2、下载WAMP开发包网址:www.wampserver.com
软件图标:
输入localhost回车后:
安装成功;
在任务栏右边,可以点击软件图标。
右键图标,可以修改语言。可以修改为中文。
Localhost 本地主机
phpMyAdmin 数据库可视化管理工具。
www目录。网站根目录。
Apache
webGrind 网站性能。
【】修改网站目录为自己的项目目录,而不是www目录。
修改Apache
ctrl+f搜索
输入documentroot
比如我们的项目在F盘的demo文件夹中,那么可以这么改
修改这里的文件:
修改这里
为:
保存,关闭。
重启web服务。
对配置文件的修改,都需要重启服务器。
在F:/demo
新建test.php
看WWW目录。
<span class="typ">Type</span><span class="pun">:</span><span class="pln"> item</span><span class="pun">;</span><span class="typ">Caption</span><span class="pun">:</span><span class="str">"www 目录"</span><span class="pun">;</span><span class="typ">Action</span><span class="pun">:</span><span class="pln"> shellexecute</span><span class="pun">;</span><span class="typ">FileName</span><span class="pun">:</span><span class="str">"D:/wamp/www"</span><span class="pun">;</span><span class="typ">Glyph</span><span class="pun">:</span><span class="lit">2</span>
修改为:
<span class="typ">Type</span><span class="pun">:</span><span class="pln"> item</span><span class="pun">;</span><span class="typ">Caption</span><span class="pun">:</span><span class="str">"demo 目录"</span><span class="pun">;</span><span class="typ">Action</span><span class="pun">:</span><span class="pln"> shellexecute</span><span class="pun">;</span><span class="typ">FileName</span><span class="pun">:</span><span class="str">"F:/demo"</span><span class="pun">;</span><span class="typ">Glyph</span><span class="pun">:</span><span class="lit">2</span>
再修改:
记事本打开;
搜索menu.left (可能有多次menu.let)
修改:
<span class="typ">Type</span><span class="pun">:</span><span class="pln"> item</span><span class="pun">;</span><span class="typ">Caption</span><span class="pun">:</span><span class="str">"${w_wwwDirectory}"</span><span class="pun">;</span><span class="typ">Action</span><span class="pun">:</span><span class="pln"> shellexecute</span><span class="pun">;</span><span class="typ">FileName</span><span class="pun">:</span><span class="str">"${wwwDir}"</span><span class="pun">;</span><span class="typ">Glyph</span><span class="pun">:</span><span class="lit">2</span>
为:
<span class="typ">Type</span><span class="pun">:</span><span class="pln"> item</span><span class="pun">;</span><span class="typ">Caption</span><span class="pun">:</span><span class="str">"demo 目录"</span><span class="pun">;</span><span class="typ">Action</span><span class="pun">:</span><span class="pln"> shellexecute</span><span class="pun">;</span><span class="typ">FileName</span><span class="pun">:</span><span class="str">"F:/demo"</span><span class="pun">;</span><span class="typ">Glyph</span><span class="pun">:</span><span class="lit">2</span>