ThinkPHP5 0 Foundation Build CMS system (i)

Source: Internet
Author: User

Learn THINKPHP5 should be the end of 2016, there is no contact with the THINKPHP3 version, feel that through the manual to learn TP5 easy, now from the zero record, build an extensible cms.

1.ThinkPHP Environment Construction

I use Wampserver (using Phpstudy is also possible), download, install (try not to put Wamp installed in the system disk), run.

If the 80 port is occupied, the environment will not come up (the icon shows red or yellow), Poke here the workaround.

After the icon appears green, the browser enters http://localhost (as shown) to indicate that the environment is running successfully.

2. Introduction of ThinkPHP5

Open thinkphp official website http://www.thinkphp.cn/down/framework.html find thinkphp latest full version. After downloading to local, open the project storage directory (see below)

My side will Wamp installed in the e-drive, in the Wamp directory to find the WWW directory, the new folder, which is your project final location and project name, can be customized.

Copy and paste the downloaded thinkphp5 file into the CMS directory (see below)

At this point, enter http://localhost/cms/public in the browser navigation bar, you can run ThinkPHP5, the success will be displayed:

To this, ThinkPHP5 environment construction and introduction completed.

ThinkPHP5 0 Foundation Build CMS system (i)

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.