Ec (2); & nbsp; now LAMP (short for Linux, Apache, MySQL, and PHPPerlPython) is very popular. It is similar in Windows, such as WAMP (Apache, MySQL, and PHPonWindows ). This article describes how to manually configure Apache, MySQL, and PHP in a Windows environment. After decompression, you can directly repair script ec (2) and script.
LAMP (short for Linux, Apache, MySQL, PHP/Perl/Python) is now popular. It is also similar in Windows, such as WAMP (Apache, MySQL, PHP on Windows ). This article describes how to manually configure Apache, MySQL, and PHP in a Windows environment. All of them are decompressed and directly modify the configuration file. Of course, you can also download the version of the Installation File for automatic installation. You can even download a collection of these software versions (WampServer, XAMPP) for one-step installation. Here, we will extract and install the software, which seems to be a bit redundant. However, this will allow us to understand the installation process of these software and detect problems in time, so that we can quickly configure a software when it is updated.
1. Software Download
Apache HTTP Server 2.2.6 (for Windows)
MySQL mysql-noinstall-5.0.45-win32.zip
MySQLGUITools (MySQL Administrator, MySQL QueryBrowser and MySQL MigrationToolkit)
(MySQL Administrator is used to start and close MySQL)
PHP php-5.2.5-Win32.zip
PhpMyAdmin 2.11.2.2
Ii. install Apache HTTP Server
The downloaded file is an msi file. You can directly double-click it to install the interface. You need to enter some data to complete the installation. This method is not used here, but it is recommended to install it like this. Next we will talk about another method for installation, unzip the msi file, and modify the configuration file.
1. Run the msiexec/a apache_2.2.6-win32-x86-no_ssl.msi, then select "Install", and finally "Finish" to unzip the installation file. /A indicates that you can specify the decompression path for network installation. For example, if you decompress the package on the F disk, a folder such as F: program filesApache Software FoundationApache2.2 will be generated, and a F: system32redi#ssystemmsvcrt. dll.
2. Move the Apache2.2 folder to the appropriate directory. Of course, the folder can be left empty. Here, I put it in the D: Java directory and rename it Apache folder.