当前位置:网站首页>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:完美解决,敬礼,撒花。
边栏推荐
- 86. (cesium chapter) cesium overlay surface receiving shadow effect (gltf model)
- tensorlow:cifar100_ train
- The first gift of the project, the flying oar contract!
- Use fill and fill in Matplotlib_ Between fill the blank area between functions
- ROS 笔记(07)— 客户端 Client 和服务端 Server 的实现
- Datetime data type ---now() gets the current time, datetime() creation date, performs mathematical operations, and to_ Datetime() converts to date type and extracts various parts of date
- [greedy college] recommended system engineer training plan
- Codeforces Round #800 (Div. 2)
- ModuleNotFoundError: No module named ‘numpy‘
- Sentimentin tensorflow_ analysis_ cell
猜你喜欢
为什么许多shopify独立站卖家都在用聊天机器人?一分钟读懂行业秘密!
Multipass Chinese document - remote use of multipass
PowerShell runtime system IO exceptions
2022.1.24
Transport layer TCP protocol and UDP protocol
Illustration of ONEFLOW's learning rate adjustment strategy
图解OneFlow的学习率调整策略
【Unity3D】刚体组件Rigidbody
Stm8 MCU ADC sampling function is triggered by timer
Multipass Chinese document - setup driver
随机推荐
0622 horse palm fell 9%
MySql如何删除所有多余的重复数据
Simple application of KMP
Astype conversion data type
Yolov5 super parameter setting and data enhancement analysis
Codeforces Round #802 (Div. 2)(A-D)
Method of saving pictures in wechat applet
22.2.8
Problem follow up - PIP source change
86.(cesium篇)cesium叠加面接收阴影效果(gltf模型)
Floyd
Generalized linear model (logistic regression, Poisson regression)
Multipass Chinese document - setup driver
Multipass中文文档-移除实例
[latex] error type summary (hold the change)
[greedy college] Figure neural network advanced training camp
2.22.2.14
First day of deep learning and tensorflow learning
Numpy random number
Introduction to classification data cotegory and properties and methods of common APIs