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.
(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.
# (2) We click download to enter the page. We choose version 3.23 this time because this version is relatively stable.
# (3) After downloading, we will unzip the file and paste it into the project we created.
(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.
# (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.
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!