Blogger Information
Blog 20
fans 0
comment 0
visits 29208
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
php本地服务器搭建,建立虚拟目录绑定域名流程
蜗牛是条鱼
Original
1704 people have browsed it

一。  php 本地服务器环境搭建。

  1. 在php中文网下载 phpstudy。 工具下载地址: http://www.php.cn/xiazai/gongju/845

  2. 直接安装,点击下一步安装完成。

  3. 完成后点击启动,都变成绿色的点则启动成功。本地环境搭建成功。

    如图:

    2019-0423132110.jpg


二:创建本地主机目录并绑定域名

  1. 点击“”其他选项菜单“”

  2. 配置“”站点域名管理“”

  3. 配置好以后点击“”新增“”

  4. 一定要点击“保存设置并生成配置文件”

4个步骤即可在本地创建主机目录和本地域名。

具体操作见图:

2019-0423133323.jpg


三。 修改本地hosts文件,让本地域名可以访问

  1. 点击“其他选项菜单”

  2. 选择“打开host”

  3. 在host中写入 127.0.0.1 对应的本地域名“html.io”

  4. 为了测试内容,在开始建立的html中写入一个文档:‘index.html’

  5. 在浏览器地址栏中输入“html.io”访问测试域名是否绑定正确

  6. 如果配置正确,会显示目录中文档的内容。

    见图:2019-0423134107.jpg



四。http 超文本传输协议,作用就是让网络上的文本都按照一种统一的格式传输和解析,这样大家统一了语言,都能看得懂。

五。html 超文本标记语言。

基本结构

<html>

 <head>

 </head>

  <body>

  </body>

</html>


 

Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!