当前位置:网站首页>Windows下安装Tp6.0框架,图文。Thinkphp6.0安装教程
Windows下安装Tp6.0框架,图文。Thinkphp6.0安装教程
2022-06-26 05:04:00 【你好骚啊】
1:首先确认php环境
- PHP >= 7.1.0
2:Composer,Tp6.0是基于Composer下载的。下载地址:https://www.phpcomposer.com
3:安装Composer,next>第二步的时候,要选择php路径。这里的php版本路径是你的当前环境运行的版本,如图:

4: 设置Composer环境变量,环境变量的路径就是安装Composer的时候选择的php版本的路径。如下图:

5:打开cmd,运行Composer,如下图,出现Composer就证明安装成功:

6:下载Tp6.0,CD到你的www目录下,输入命令:composer create-project topthink/think tp,/**tp可以自己随便起名字*/如下图:

7:测试运行,安装完成之后,你会看到www目录下已经有个 tp 文件夹了,这个就是下载好的tp6.0框架,cd到框架根目录,输入命令:php think run 如下图:

8:看到 127.0.0.1:8000,就证明已经ok了,然后在浏览器中访问,如下图:
9:更改8000端口,如果你想用80端口,输入命令:php think run -p 80
10:完美解决,敬礼,撒花。

边栏推荐
- Codeforces Round #800 (Div. 2)
- 2022.1.23
- RESNET in tensorflow_ Train actual combat
- 2.< tag-动态规划和常规问题>lt.343. 整数拆分
- 广和通联合安提国际为基于英伟达 Jetson Xavier NX的AI边缘计算平台带来5G R16强大性能
- Numpy data input / output
- 微信小程序保存图片的方法
- Use fill and fill in Matplotlib_ Between fill the blank area between functions
- Zuul 實現動態路由
- date_ Range creation date range freq parameter value table and creation example
猜你喜欢

【Unity3D】碰撞体组件Collider

ROS 笔记(07)— 客户端 Client 和服务端 Server 的实现

钟珊珊:被爆锤后的工程师会起飞|OneFlow U

广和通联合安提国际为基于英伟达 Jetson Xavier NX的AI边缘计算平台带来5G R16强大性能

torchvision_transform(图像增强)

Record a circular reference problem

86. (cesium chapter) cesium overlay surface receiving shadow effect (gltf model)

天才制造者:獨行俠、科技巨頭和AI|深度學習崛起十年

A new paradigm for large model application: unified feature representation optimization (UFO)
![[latex] error type summary (hold the change)](/img/3c/bbb7f496c5ea48c6941cd4aceb5065.png)
[latex] error type summary (hold the change)
随机推荐
2022.1.24
Simple application of KMP
Modify the case of the string title(), upper(), lower()
Record a circular reference problem
A company crawling out of its grave
Muke.com actual combat course
22.2.8
-Discrete Mathematics - Analysis of final exercises
0622 horse palm fell 9%
天才制造者:独行侠、科技巨头和AI|深度学习崛起十年
天才制造者:獨行俠、科技巨頭和AI|深度學習崛起十年
Some parameter settings and feature graph visualization of yolov5-6.0
How can the intelligent transformation path of manufacturing enterprises be broken due to talent shortage and high cost?
PHP one sentence Trojan horse
微信小程序保存圖片的方法
2022.2.16
Second day of deep learning and tensorfow
图像翻译/GAN:Unsupervised Image-to-Image Translation with Self-Attention Networks基于自我注意网络的无监督图像到图像的翻译
Difference between return and yield
Multipass Chinese document - use multipass service to authorize the client