WampServe installation and configuration method (with installation package)

WampServe installation and configuration method (with installation package)

1. Introduction to WampServe

​ WampServer is an integrated software package for Apache web server, PHP and MySQL database.

Wamp means Windows + Apache + MySQL + PHP, and Server represents the server.

Second, WampServe installation

WampServe software download link: https://pan.baidu.com/s/1slYZepR Password: j6xs

Double-click the wampserver.exe file to install (PS: Please specify a non-Chinese path during installation)

The path I installed is D:\wamp
01-Installation path

3. WampServe configuration

0. Find the httpd.conf file in the conf directory according to this directory (D:\wamp\bin\apache\Apache2.2.21\conf), and open this file in the sublime editor

02-conf

1. ctrl + f enter vhosts to find the line of code 468, remove the preceding #

03-vhosts

2. ctrl + f Enter documentroot to find DcumentRoot, you can put the www directory under a drive letter, (I use the E disk to demonstrate here), and create a www directory under the E disk, and create a job directory in the WWW directory

04-documentroot

05-job

Also set line 207 <Directory”E:/www/”>**

06-directory

3. Then continue to find 127.0.01, change 127.0.01 in the file to Allow from all and then ctrl + s to save

07-127

4. Open the extra folder in the conf folder and drag the httpd-vhosts.conf file to sublime.

08-vhostsConf

5. Copy a copy of the code in the frame below, put it on top of this line of code, and modify it as shown in the figure below

09-Copy

10 - Modification

6. Open this path, C:\Windows\System32\drivers\etc, find a hosts file, drag this file to the desktop, and then drag it to sublime to add a virtual domain name

11-Domain Name

7. Save the above hosts file after modification, then send the hosts file to the original etc folder, restart wamp, and then enter www.job.com in the browser. As shown below

12 - Done

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325392612&siteId=291194637