Blogger Information
Blog 40
fans 0
comment 0
visits 29330
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
创建出地真实的学习环境--2019-04-22 23:50
小人物的博客
Original
513 people have browsed it

1、下载并安装好PHP工具箱,启动Apache+MySQL,并验证成功启动

2、打开PHP工具箱的网站目录,在其下新建子目录HTML,并在目录下新建index.php,内容如下:

<?php echo "Hello PHP";?>

3、点开PHP工具箱中的其他选项菜单,选择“站点域名管理”,添加网站域名:www.html.io ,网站目录选择刚新建的html子录,第二域名:HTML.io,网站端口:80,点击新增,保存设置并生成配置文件,重启Apache+MySQL

4、点开PHP工具箱中的其他选项菜单,选择“打开hosts”(注:host文件主要是将域名和本地IP绑定),新增两行

127.0.0.1 www.html.io

127.0.0.1 html.io

5、打开浏览器,输入html.io,验证结果

6、http:是超文本传输协议,是指从客户端到服务器端的请求消息。包括:消息首行中,对资源的请求方法、资源的标识符及使用的协议

7、html 是超文本标记语言, 基本结构

<!DOCTYPE html><html>
   <head>
       <meta charset="UTF-8">
       <title></title>
   </head>
   <body>
   </body></html>

通过今晚课程,了解了php的运行环境、及基本设置,并初步认识了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