Introduce oneself first, my name is Hai, English name Hetty, my hobby is ... OK, stop, or skip it, lest be scolded, hehe.
Perhaps some people would wonder why the name of the tutorial is called "Learning by the PHP side of the teaching"? The reason is very simple, I am also learning, we learn together, common communication, common progress is what I expected.
I remember a mentor said to me: "You are teaching others at the same time, you will get a great promotion!" "So I wrote this rotten tutorial for the purpose of very clear, is: 1, to consolidate their basic knowledge of PHP, 2, want to give as much help as possible to the people in need." (So we all learn in the process, but also to share learning experience with others Oh!) )
This small tutorial will not delve into the great theoretical knowledge, only to learn some of the most basic, most practical things, the rest of the first to ignore. Because these things easy to get started, once the introduction, we brought the interest, we can self-taught, continue to study. I will prepare a large number of examples to explain the grammar, and each statement details is what to use, how to use, so that everyone clearly, plainly, not dizzy. Strive for within three days, let everyone learn to write with the database address Book, and then write a message, member systems and other common modules.
The tutorial will be updated regularly on the official website www.hetty.cn daily, so that everyone has new things to learn every day. The specific location of the tutorial please click on "Quick classification-> PHP" after the pit stop and you can post comments on every day's tutorials, such as sharing your own learning experience, what you don't understand in the tutorials, or what deficiencies in the tutorials need to be corrected. In a word, emphasis is on communication. Or that sentence: common learning, common communication, common progress!
Everyone can copy, reproduced this tutorial, but please specify the author and source, understanding the author's hard work yo. Of course, you do not indicate that I have no way, hehe. OK, so much nonsense, it's time to turn to the point, let's get started.
What is php:First of all, you may want to know, what exactly is PHP? This is actually you do not have to go deep understanding, recite its English full name, check it English meaning, strange trouble, you just know that PHP is used to do dynamic website Dongdong, it can update your website online, can be used to store data and access to data is good. Learn it, you no longer need a page to do the page, and can be based on your ideas to achieve a lot of interesting features oh.
Why do you choose PHP:So why to use PHP, this well, I personally think it is a person's preferences, PHP, ASP, JSP and now popular asp.net have their own advantages, can not blindly to veto which one, that is not rational. White Cat Black Cat, can catch a mouse is a good cat. As long as you learn, either one can achieve your ideas.
OK, we now need to do some preparation, to download some Dongdong first to configure the PHP environment to continue to learn PHP. Note that as the following software is frequently updated, there may be version differences, and tutorial pictures are for reference only.
1, the Apache official download:http://httpd.apache.org/download.cgi
• Find the following sections in the Web page ·
Description: If you use the operating system is UNIX, please download Unix Source, there are two, they are only different format, any one of the next; If your operating system is windows, download Win32 Source or Win32 Binary (MSI Installer), the first is a ZIP compression format, the second is the installer, a bit more stupid. Since I use the Windows operating system, in this case, for ease of installation, we download: Win32 Binary (MSI Installer)
2, PHP official download:http://www.php.net/downloads.php
• Find the following sections in the Web page ·
This is no longer explained here, and we will install it as an example of a zip compressed file that downloads PHP 5.2.0 zip package.
3, MySQL official download:http://dev.mysql.com/downloads/
• Find the following sections in the Web page ·
• Find the following sections after entering the next page ·
Here also no more explanation, find Windows Essentials (x86) Click on the right side of the corresponding download direct download.
4, Zend optimizer official download:http://downloads.zend.com/optimizer/
Oh, originally downloaded very troublesome to say, I have a button here to see all versions of the download interface, you can see the latest version, The latest version I'm currently seeing is 3.0.2, dot it, and then you'll see a bunch of different installation packages, and we just need one of them: Zendoptimizer-3.0.2-windows-i386.exe to download it.
• The interface is as follows
If you don't care about the latest version, please click here to download directly:
Http://downloads.zend.com/optimizer/3.0.0/ZendOptimizer-3.0.0-Windows-i386.exe
5, smarty official download:http://smarty.php.net/download.php
• Find the following sections in the Web page ·
Note here: If you are heroic to point Smarty 2.6.14 Source, you may not be able to download it because he is tar.gz format. Please use the "right mouse button-> to save the target as" to download, or use the tools such as thunder to download. After downloading you can use WinRAR compression software to open, Latest stable release represents the latest version.
6, phpMyAdmin official download:Http://www.phpmyadmin.net
• Find the following sections in the Web page ·
Here you can see the latest version of the phpMyAdmin, point zip after the optional server download, recommended to choose Asia (Asian Server), point download can be downloaded.
7, Appserv official download:http://www.appservnetwork.com/(after entering the official website point download column)
or direct point here: http://sourceforge.net/project/showfiles.php?group_id=37459&package_id=29748
• Find the following sections in the Web page ·
Point Appserv-win32-2.5.7.exe can be downloaded directly, you can also point to the green little Dongdong Select a near-point server download. Have you found that Appserv's official address and download address are not unified? Oh, there is still a strange feeling.
Why should I take great pains to teach you to go to the official website to download this pile of stuff? Some people may say, to Baidu and Google search everywhere can find the download address, this is not faster and more convenient? Oh, I now tell you why I do this: directly to the official address download, you can avoid the virus file, more importantly, you can download to the latest version and observe the version of the dynamic. Of course, this does not mean that the latest is the best Oh.
All right, here we are ready to work is all done, it is rare that we patiently read this small tutorial, rest it, the download good things unified in a folder to keep well yo. In the next article we will explain how to configure the PHP environment under Apache, how to configure the PHP environment under IIS, and the dummy configuration method Appserv. Remember to pay attention to Www.hetty.cn's latest tutorial Oh, hehe.
Click here to download the World document for this tutorial