thinkphp Study (i)

Source: Internet
Author: User

Students have entered bat, instantly feel that they are lagging behind, their own rich web development two years feel nothing ' achievement ', a look at PHP in the web is very force, good hurry to learn, nonsense less said, walk up.

(Introductory article)

Main content: (1) Development environment deployment under PHP Windows operating system, development tools recommended

(2) thinkphp frame download

(i) Development environment deployment under PHP Windows operating system, development tools recommended

(1) PHP under the Windows environment, I use the WAMP integrated development environment, in a word, this is really easy to install, is the next step, a brief introduction of WAMP,W is the Windows operating system abbreviation, A is the Apache Web server abbreviation, m is the MySQL database, P Of course is PHP, wamp download link to a http://www.wampserver.com/, but this official website is the latest, I generally do not use the latest, the following to a network disk: http://pan.baidu.com/s/1ntDO05b

OK, the installation is the next step, but remember that the directory you installed is very important. Take the picture as proof

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/41/0B/wKiom1PQiSzhIG9HAAGtfhJuKdQ548.jpg "title=" Wamp1.png "alt=" Wkiom1pqiszhig9haagtfhjukdq548.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/41/0B/wKioL1PQinDBO-4AAAHxzI_3jH4054.jpg "style=" float: none; "title=" Wamp2.png "alt=" Wkiol1pqindbo-4aaahxzi_3jh4054.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/41/0B/wKiom1PQiVbRDrvlAAF22fVmjkI658.jpg "style=" float: none; "title=" Wamp3.png "alt=" Wkiom1pqivbrdrvlaaf22fvmjki658.jpg "/>

After installation will appear on the desktop icon, 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M01/41/0B/ Wkiom1pqieoxtbicaaaciyympbo005.jpg "title=" Wamp4.png "alt=" Wkiom1pqieoxtbicaaaciyympbo005.jpg "/>

(2) After installation, check whether the environment can be used, double-click the icon, the bottom of the table xx Bar will appear as standard 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M00/41/0B/ Wkiom1pqi1za9s5qaaaavtywpoy181.jpg "title=" Wamp5.png "alt=" Wkiom1pqi1za9s5qaaaavtywpoy181.jpg "/>

When it turns green or brown, it is not red, it proves that he started normally, this can test the environment to see if the configuration is OK, in the browser address bar input: localhost, press Enter enter, appear as, said surface environment available

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/41/0C/wKiom1PQjMmCK7c2AAMX7dlXO7Y085.jpg "title=" Wamp6.png "alt=" wkiom1pqjmmck7c2aamx7dlxo7y085.jpg "/> So the PHP development environment was built.

(ii) thinkphp framework Download

: http://www.thinkphp.cn/official website download, after the download is done, unzip the folder into your installed Wamp www directory, of course, you can create a new layer of folders outside him, such as

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/41/0C/wKiom1PQjdPzWn4dAAJTZxlUt34112.jpg "title=" Wamp7.png "alt=" Wkiom1pqjdpzwn4daajtzxlut34112.jpg "/>

Also to test, to see if success is not available, enter the localhost/folder name on the browser, if it appears as:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/41/0C/wKioL1PQkMSw8GS6AAGaG4kFSYE103.jpg "title=" Wamp.png "alt=" Wkiol1pqkmsw8gs6aagag4kfsye103.jpg "/>

Congratulations, thinkphp. The environment is also installed, see tomorrow, preview tomorrow's content, establish a simple thinkphp case, explain the thinkphp principle of access.

This article is from "Martin's Technical Blog" blog, make sure to keep this source http://itmartin.blog.51cto.com/4508901/1529617

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.