TP5 安装

一、官方手册:
https://www.kancloud.cn/manual/thinkphp5/118003

二、Git 方式安装【最新框架下载方式】

  1. 首先克隆下载应用项目仓库
    git clone https://github.com/top-think/think tp5
  2. 然后切换到 tp5 目录下面下载核心框架
    git clone https://github.com/top-think/framework thinkphp
  3. 两个仓库克隆完成后,就完成了ThinkPHP5.0的Git方式下载。如果需要更新核心框架的时候,只需要切换到thinkphp核心目录下面,然后执行:
    git pull https://github.com/top-think/framework

三、ZIP包下载方式(选定版本下载)

  1. 下载指定 tag 的项目仓库(地址:https://github.com/top-think/think
  2. 下载同 tag 的核心框架(地址:https://github.com/top-think/framework
  3. 下载完毕后将核心框架重命名为 thinkphp 拖至项目仓库 application 同级目录。
  4. 访问 localhost/xcxService/public/ 出现欢迎页说明 ok。

安装步骤部分来自手册。
thanks~

猜你喜欢

转载自blog.csdn.net/xianhenyuan/article/details/81208524