Home >Backend Development >PHP Tutorial >How to use thinkphp framework

How to use thinkphp framework

清浅
清浅Original
2019-05-11 13:25:3716761browse

How to use the thinkphp framework: 1. Download the framework from the official website; 2. Unzip and paste it into the newly created project; 3. Run the index.php file in the corresponding path; 4. If it can be run successfully , then you can continue to develop according to your needs.

How to use thinkphp framework

(1) First, we go to Baidu to search the official website of thinkphp. Remember not to use one that has been modified by yourself, it is not safe.

How to use thinkphp framework

# (2) We click download to enter the page. We choose version 3.23 this time because this version is relatively stable.

How to use thinkphp framework

# (3) After downloading, we will unzip the file and paste it into the project we created.

Image 033.png

(4) Then we run the file in the corresponding path. If the interface in the picture appears, it proves that it has been successful and development can continue.

Image 034.png

# (5) If an exception occurs, please check the server configuration. For example, the PHP version is less than 5.3 or the server does not open folder permissions, etc.

Image 035.png

The above is the detailed content of How to use thinkphp framework. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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