thinkphp frame (download thinkphp_3.12_ core package) ____php

Source: Internet
Author: User
Tags php error php framework

Http://blog.sina.com.cn/s/blog_aba86c0d0101fl73.html


Framework 3.1.2 Version 1. Download the thinkphp_3.12_ core package. After decompression, put it in the project below the WWW directory.
2. The general foreground file is index.php, (most of the day before yesterday is the home directory)//Open Boot Mode define (' App_debug ', true); 1. Determine the application ranking home define (' app_name ', ' home '); 2. Determine the application path define (' App_path ', './home/'); 3. Introduction of the core document require './thinkphp/thinkphp.php ';
Note: This is the front entrance, if you need backstage, create a adamin.php, and then copy the above, and then modify the home, changed to Adamin on it.
3. Access to the corresponding PHP file, will automatically generate some foreground code when the directory structure. As follows:


#项目目录结构及说明: Home foreground application Folder ├─common project common file directory ├─conf project configuration directory ├─lang Project language directory ├─lib Project class Library directory │├─action Action class Library directory │├─behavior row For Class Library directory │├─model Model class Library directory │└─widget Widget class library directory ├─runtime Project runtime directory │├─cache template cache directory │├─data data cache directory │├─logs log file directory │└─ Temp Temporary cache directory └─TPL project template directory

This is the directory structure of the framework. (Extract into the project, refresh the project, you can see the frame structure.) )

Thinkphp Core Document Introduction ├─thinkphp.php Framework Portal File ├─common Framework public file ├─CONF Framework profile ├─extend Framework extension directory ├─lang Core Language Pack directory ├─lib core class library directory │├─beh Avior core Behavior Class Library │├─core core base Class library │├─driver built-in driver ││├─cache built-in cache driver ││├─db built-in database driver ││├─taglib built-in tag driver ││└─templa Te built-in template engine driver │└─template built-in template engine └─TPL system template Directory
This is our common project framework structure. If the access indx.php error, said the memory is not enough, modify the php.ini file in the Memory_limit this value can be changed.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.