当前位置:网站首页>The construction and usage of wampserver framework
The construction and usage of wampserver framework
2022-06-25 04:55:00 【Two kings lead two teams】
frame :thinkphp ( The default is single application mode )
url analysis :
Multiple applications :http://serverName/index.php/ application / controller / operation / Parameters / value ...
Single application :http://serverName/index.php/ controller / operation / Parameters / value ...
Such as :http://localhost/tp6/public/index.php/test/hello/value/world
(index.php It can be omitted ,Apache Will help you write )
Compatibility mode :http://localhost/tp6/public/?s=test/hello/value/world
Frame building :
1, download wampserver,composer Setup
2,composer Found during configuration wamserver Of php Environmental Science

3, open wampserver , Choice and composer Selected during configuration php Environmental Science ( Here is 7.3.12)
4, Build the framework :
Command line open wampserver In the folder www Folder , Input :
composer creat-project topthink/think tp6(tp6 It's your file name .)
5, Update your project file version ( Some errors can be fixed )
You can do it yourself Enter the file you created , Input again :
composer update topthink/farmworke
6, Command line input php think run Run the framework you build

ctrl+c Close the connection .
At this point, you can enter... In the browser http://localhost/tp6/public By entering the framework of your website , Later you can use phpstorm Write your website functions .

Website function compilation : Create... In the framework of the website you created php file , Write your own code . A simple example , This is not the point !!!


边栏推荐
- Qdebug June 2022
- SRC platform summary
- How do the defi protocols perform under this round of stress test?
- JS, BOM, DOM (VI)
- Penetration information collection steps (simplified version)
- JDBC (IV)
- buuctf web
- Cannot import name 'escape' from 'jinja2' [solved successfully]
- What if the desktop computer is not connected to WiFi
- Join() in JSZ
猜你喜欢

TX Text Control 30.0 ActiveX

Successfully solved: selenium common. exceptions. TimeoutException: Message: timeout: Timed out receiving message from

【FLink】access closed classloader classloader. check-leaked-classloader

WPF uses Maui's self drawing logic

固态硬盘开盘数据恢复的方法

在 .NET 6 中使用 dotnet format 格式化代码

Which programming language is the most cumbersome to implement Hello world?

Efficient NoSQL database service Amazon dynamodb experience sharing

Sleep more, you can lose weight. According to the latest research from the University of Chicago, sleeping more than 1 hour a day is equivalent to eating less than one fried chicken leg

The SQL response is slow. What are your troubleshooting ideas?
随机推荐
Laravel Vonage SMS sending
固態硬盤開盤數據恢複的方法
Kotlin Compose 完善toDo项目 Surface 渲染背景 与阴影
Filter & listener (XIV)
高效的NoSQL数据库服务Amozon DynamoDB体验分享
为什么SQL语句命中索引比不命中索引要快?
PostgreSQL database Wal - RM_ HEAP_ ID logging action
Response (XI)
buuctf(re)
ThinkPHP 5 log management
olap分析引擎——Kylin4.0
OOP stack class template (template +ds)
哪个编程语言实现hello world最烦琐?
How to use the Magic pig system reinstallation master
Google Earth Engine(GEE)——全球JRC/GSW1_1/YearlyHistory数据集的批量下载(中国区域)
Activereportsjs V3.0 comes on stage
Swift rapid development
MySQL concept and operation (III)
Deep learning - several types of learning
执行SQL响应比较慢,你有哪些排查思路?