Home > Backend Development > PHP Tutorial > PHP local domain name resolution tutorial_PHP tutorial

PHP local domain name resolution tutorial_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-14 10:12:12
Original
1184 people have browsed it

1. Find C:WINDOWSsystem32driversetchosts
127.0.0.1 localhost
127.0.0.1 www.zhosoft.com

2. Find the C:wampbinapacheapache2.2.22confhttpd.conf file and open
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
Modify to
# Virtual hosts
Include conf/extra/httpd-vhosts.conf


3. Find the file C:wampbinapacheapache2.2.22confextrahttpd-vhosts.conf and open
Add
at the end
ServerAdmin zhosoft@126.com
DocumentRoot "E:/zhosoft"
ServerName www.zhosoft.com

Options Indexes FollowSymLinks
​​​​AllowOverride All
Order allow,deny
Allow from all


4.DW website

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/477235.htmlTechArticle1. Find C:WINDOWSsystem32driversetchosts 127.0.0.1 localhost 127.0.0.1 www.zhosoft.com 2. Find C:wampbinapacheapache2 .2.22confhttpd.conf file, open # Virtual hosts #...
Statement of this Website
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template