ThinkPHP3.2.3 Installation Tutorials

Source: Internet
Author: User

This article takes the Windows platform as an example

Pre-Installation: Windows operating system computer, PHP programming environment (configured Apache, MYSQL, PHP). Recommended Wampserver.
thinkphp source file to be installed: http://www.thinkphp.cn/down.html (I use ThinkPHP3.2.3 full version)
Installation steps: 1. After the thinkphp copy to the WWW root directory;
such as: My Site root directory is: E:\wamp\www; My specific practice is to create a new project folder in the E:\wamp\www directory think, and then copy thinkphp into it;
2. Create a single entry file, the single entry file requires the root directory of the project folder, and the copy of the thinkphp framework file in the same peer:

   Thinkphp comes with index.php files, if not, can be self-built.     

Specific steps: Create a new index.php file under the project folder root, adding the following code:
<?php

Define (' App_name ', ' INDEX '); Define Project First Name
Define (' App_path ', './index '); Defining Project Paths
include './thinkphp/thinkphp.php '; Introduction of Project Core operational files

?>

3. In the Address bar, enter "localhost/think/index.php", if you see the thinkphp welcome interface, indicating that the installation was successful;
Note: After running the project root again, you will see that some of the newly generated files, especially the runtime files, appear to be important. The number of files generated by different thinkphp versions is not the same, and the file location may vary.

This article references the source: http://my.oschina.net/u/1771585/blog/293654 (modified part, green font)

ThinkPHP3.2.3 Installation Tutorials

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.