With the popularity of PHP website, more and more domestic webmaster use PHP to develop the website or use related PHP open source website (for example: Dedecms, Phpwind, Kangsheng discuz!, WordPress, etc. some of the current popular open source website), For those of you who are just starting out with the PHP language or starting your own site, it's important to test your PHP site locally, because it allows you to do some debugging locally without worrying about network problems and operator problems.
Next, the author will be under Windows XP (SP3), build and configure the PHP operating environment to do a simple introduction:
1. Installation Preparation
1.1Apache Download, official address (http://httpd.apache.org/), where the author downloads the version is Apache HTTP Server 2.2.22, using the OpenSSL version ( Httpd-2.2.22-win32-x86-openssl-0.9.8t.msi), as shown in
1.2PHP Download, official address (http://www.php.net), download here is PHP5 (php-5.2.17-win32-vc6-x86)
1.3Mysql Download, official address (http://www.mysql.com/downloads/), where MYSQL5 (Mysql-essential-5.1.57-win32.zip) is used
2. Install Apache HTTP Server
2.1 Run the download good "Httpd-2.2.22-win32-x86-openssl-0.9.8t.msi" file, the following installation interface appears, as shown in
The red box shows the Apache version number, and we click "Next" to go to the next step;
The Software Installation license regulations appear, where the "I accept the terms in the license agreement" is directly selected, and then click "Next";
The dialog box shows the instructions for the software (if you are patient when installing the software, consider reading it again to see how you are doing in English), here we click "Next" directly.