Home PHP Framework ThinkPHP Installation process of thinkphp6

Installation process of thinkphp6

Mar 26, 2021 pm 05:50 PM
thinkphp6

The framework is essential for our development, so we need to know how to install the thinkphp6 (also called tp6) framework. This article will teach you how to install the tp6 framework. Friends in need can take a look.

Installation process of thinkphp6

We have no way to download the tp6 framework directly from the official website, we can only download it through composer. First we need to enter ThinkPHP6.0 Complete Development Manual. You can see the installation in the basics. Click Composer-Setup.exe to install Composer directly.

Installation process of thinkphp6

# After downloading, double-click to enter the installation and go to the next step. The installation will be successful. We use the win key to enter cmd to open the command line. First we need to check the php version. If it is lower than 7, there is no way to install tp6.

Enter

composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
Copy after login

on the command line and you can proceed to the next step if no error is reported. After entering

composer create-project topthink/think tp
Copy after login

on the command line, your computer will automatically install tp6. The following code is automatically generated. We only need to observe the word succeed, which indicates that our tp6 installation is successful.

Installation process of thinkphp6

After the tp6 installation is completed, we need to test it. Enter

php think run
Copy after login

on the command line and enter

http://localhost:8000/
Copy after login

or ## on the browser. #

http://127.0.0.1:8000/
Copy after login
You can see the welcome page. Congratulations, you have now completed the installation of

ThinkPHP6.0.

Related learning recommendations:

thinkphp6 The latest 10 thinkphp video tutorial recommendations

The above is the detailed content of Installation process of thinkphp6. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)