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

PHP local domain name resolution tutorial_PHP tutorial

WBOY
WBOYOriginal
2016-07-14 10:12:121090browse

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:
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