Shopping Cart

购物车里没有产品。

课程内容
第05章 标签操作
0/2
第07章 页面操作
0/2
第12章 评论管理
0/1
第13章 媒体管理
0/1
第15章 后台工具
0/1
第16章 版本更新
0/1
WordPress使用指南课程笔记
关于课时

1.5.1 官网

官网网址https://www.apachefriends.org/index.html

下载地址https://www.apachefriends.org/download.html

1.5.2 安装

1.5.3 管理

1.5.4 使用

1. 站点目录

站点目录的路径为,/Applications/XAMPP/xamppfiles/htdocs

注意:当访问htdocs中的index.php时,会自动跳转到dashbord目录。也就是,当访问http://localhost/时,会自动跳转到http://localhost/dashboard/

所谓跳转,就是浏览器拿到要跳转的网址后,自动地帮你访问新的网址。

2. 路径映射

在站点目录中的资源(比如,文件、图片),都有自己的一个URL。

在浏览器中通过URL,可以访问到站点目录中的资源。

例如……

URL: http://localhost/index.php,对应到/Applications/XAMPP/xamppfiles/htdocs/index.php

3. 默认首页

在apache的配置文件中,指定了默认首页文件的名称和顺序,如下……

<IfModule dir_module>
    #DirectoryIndex index.html
    # XAMPP
    DirectoryIndex index.html index.html.var index.php index.php3 index.php4
</IfModule>

也就是,xampp的macos版,设置的默认首页及顺序为index.html index.html.var index.php index.php3 index.php4

注意:不用去修改,知道即可。

1.5.5 phpmyadmin

通过 http://localhost/phpmyadmin,可以进行登录。

默认的用户名为root,密码为空(不用填写)

0% 完成