php(as the current mainstream development language) The reason why many beginners are deterred is the relatively complicated php(as the current mainstream development language) The establishment of debugging environment , the test environment of php(as the current mainstream development language) is the first problem to solve when learning php(as the current mainstream development language). Therefore, this article begins by addressing this overarching question. php(as the current mainstream development language) The environment configuration is very flexible. Here I will explain it according to the installation method that is more suitable for learning. What I want to say at the beginning is that installing php (as the current mainstream development language) is not as difficult as you think. In fact, after you install it several times, you will find that installing php (As the current mainstream development language) It’s really easy.
What I will talk about below will cover the mainstream Windows operating system, that is to say, I will only explain the establishment process of the development environment of php(as the current mainstream development language) in the Windows environment. . This article will describe this process in the most detailed and popular language.
The purpose of writing this tutorial is for those who like php
(as the current mainstream development language) and those who are interested in php(as the current mainstream development language) Watched by a friend who doesn’t know much about it. I went through many detours when getting started with php(as the current mainstream development language). Therefore, my biggest wish is that this tutorial can give beginners a correct guide, so that I will be satisfied. If you think you are an expert and already have this knowledge, please give your valuable advice, thank you.
This article inevitably contains errors and deficiencies, please correct me.
Demonstration operating system: Windows Server 2003
Required software: php
(as the current mainstream development language), MySQL(best paired with PHP The best combination), apache(the most popular WEB server platform on Unix platform), php(as the current mainstream development language)MyAdmin, Zend Studio
System requirements for Zend Studio: CPU above 233MHz (in my opinion, at least 733M CPU), memory above 128M (I recommend 512M), and disk space above 100M. Windows NT, Windows 2000 or Windows XP, Windows Server 2003 operating system. The only thing worth noting is that the software does not support the Windows 98 operating system. I strongly recommend developing php
(as the current mainstream development language) Do not use Windows 98 operating system. It is recommended to use Windows 2000/XP or Windows Server 2003 operating system. This can ensure the stability of the entire debugging system. Another thing I want to say is that Zend Studio consumes more memory and requires relatively high CPU frequency and relatively large memory support, otherwise it will be extremely difficult to run. Depending on your system, you can choose whether to install it.
First briefly explain the purpose of the above required software, and then I will explain the basic use of these software in detailed text:
[php
(as the current mainstream development Language) ]: Obviously this is used to parse the php (as the current mainstream development language) file we edited and configure php (as the current mainstream development language) It is also centered around it. It has two versions, and this article will not introduce the installation of its cgi(not many people are using it now) version. If you want to install it using cgi(not many people use it now), then please check the relevant content of php(as the current mainstream development language) manual.
[MySQL
(The best combination with PHP)]: The best partner of the legendary php(as the current mainstream development language), it What is it used for? It’s DBMS (DataBase Management System: Database Management System)! Even if we don't necessarily need it sometimes, it is still indispensable if we want to really apply php(as the current mainstream development language) to web services - of course, if you need to use If other DBMS replaces MySQL(the best combination with PHP). Please skip the relevant content of this article. This article will not introduce the installation of other DBMS.
[apache
(The most popular WEB server platform on Unix platform)]: The most widely used server on the Internet today, even Microsoft's iis(Microsoft's WEB server platform) It is far less than the market share held by apache (the most popular WEB server platform on the Unix platform) . Compact and safe. It comes in two versions, version 1.x and the latest version 2.x.Perhaps the 1.x version has better support for php (as the current mainstream development language) , but this article will only introduce the installation of the 2.x version. If you want to install the 1.x version , please skip the relevant parts of this article. Of course, because I am using Windows as the demonstration platform, IIS (Microsoft's WEB server platform) will not be missing. This article will also introduce PHP (as the current mainstream development language) in detail. The configuration under iis(Microsoft's WEB server platform) includes the configuration of the latest Windows Server 2003 operating system iis(Microsoft's WEB server platform)6.0.
[php(as the current mainstream development language)MyAdmin]: A very excellent MySQL running in the php(as the current mainstream development language) environment (The best combination with PHP) Management software, if you want to use other software instead, please skip the corresponding chapter.
[Zend Studio]: After I have used it for a period of time, I have to admit that it is a very good php (as the current mainstream development language) IDE. However, if you want to use For it, you must have a powerful CPU and enough memory, otherwise its speed may make you very unhappy. Of course, you can also use other editors such as EditPlus2 to develop php(as the current mainstream development language).
Part One Obtaining the Software
How to obtain the above software?
[php(as the current mainstream development language)]:
First we should know about php(as the current mainstream development language) Language) where published. http://qa.php(as the current mainstream development language).net/, this is the official page of the php(as the current mainstream development language) quality assurance team , the home page contains the release of the latest version of php(as the current mainstream development language). You can download the latest version including RC test version. However, I do not recommend using the RC test version because there may be unknown BUGs, which will affect the learning of php(as the current mainstream development language).