Home >Backend Development >PHP Tutorial >【03】WAMPServer集成环境下载跟安装

【03】WAMPServer集成环境下载跟安装

WBOY
WBOYOriginal
2016-06-13 12:27:411048browse

【03】WAMPServer集成环境下载和安装

WAMPServer集成环境下载和安装
1、W:windows,A:Apache,M:MySQL,P:PHP
2、下载WAMP开发包网址:www.wampserver.com

 
 
 
 
 3、安装WampServer:双击安装包→运行→Next→我接受→Next→目录→Next→Next→安装→否→Next→Finish
4、测试是否安装成功:打开浏览器→输入localhost→回车→出现WampServer的信息则成功

 

 

 

 

 


 

软件图标:

 

输入localhost回车后:

 

 

安装成功;

 

在任务栏右边,可以点击软件图标。

 

右键图标,可以修改语言。可以修改为中文。

 

 

 

 

 

 

 

 

Localhost  本地主机

phpMyAdmin  数据库可视化管理工具。

 

www目录。网站根目录。

Apache

 

webGrind 网站性能。

 

【】修改网站目录为自己的项目目录,而不是www目录。

 

修改Apache

 

ctrl+f搜索

输入documentroot

 

 

比如我们的项目在F盘的demo文件夹中,那么可以这么改

修改这里的文件:

 

 

修改这里

 

为:


 

保存,关闭。

 

重启web服务。

 

对配置文件的修改,都需要重启服务器。

 

 

测试是否成功修改:

在F:/demo

新建test.php

 

内容为:
在浏览器中输入localhost/test.php
 
 
成功!!

 

看WWW目录。

web集成开发包的配置要修改。
 
在安装目录下:
 
打开。搜索:menu.left或是直接搜索:“www 目录”
 
 
 

  1. <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>

修改为:

  1. <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)

 

 

修改:

  1. <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>

为:

  1. <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>

 

 

停止所有服务器,退出。
在打开服务器。
 
 
修改成功。
 
 

 

 

 

 

 

 

 

 

 

 

 

 

 



 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn