1、首先,要安装composer;

3、php版本不是7版本的话,需要升级到php7版本;

5、执行composer命令,创建tp6项目;composer create-project topthink/think tp6

6、打开浏览器,运行项目。http://localhost/tp6/public/index.phptp6框架安装成功!

1、首先,要安装composer;
3、php版本不是7版本的话,需要升级到php7版本;
5、执行composer命令,创建tp6项目;composer create-project topthink/think tp6
6、打开浏览器,运行项目。http://localhost/tp6/public/index.phptp6框架安装成功!