Go to blog. csdn. netyousuosiarticledetails9859507 [Software Download] The installation file used by this installation instance: among them, the 64-bit version of MySQL Installation File mysql-5.5.33-winx64.msi, can be downloaded directly from the official website,: dev. mysql. comdownloadsmirror. ph
Original go to http://blog.csdn.net/yousuosi/article/details/9859507 [Software Download] the installation of this installation instance using the Installation File: Where, 64-bit version of MySQL Installation File mysql-5.5.33-winx64.msi, can be directly downloaded from the official website,: http://dev.mysql.com/downloads/mirror.ph
Original to http://blog.csdn.net/yousuosi/article/details/9859507
[Software Download]
The installation files used by this installation instance:
Among them, 64-bit version of MySQL Installation File mysql-5.5.33-winx64.msi, can be directly downloaded from the official website,: http://dev.mysql.com/downloads/mirror.php? Id = 414045
However, Apache and PHP official websites do not provide downloads. It is said that they are compiled by Daniel abroad. The three files can be directly downloaded from my own CSDN resources, as shown below:
Http://download.csdn.net/detail/yousuosi/5899527
The installation and configuration of the 64-bit PHP environment are not much different from those of the 32-bit environment, for installation and configuration of PHP and MySQL, you can directly install and configure the PHP environment under my blog 32-bit Win7 (2) and 32-bit Win7 (3 ), the installation of Apache requires manual installation and configuration because there is no direct Installation File.
[Preparations or precautions before installation]
1. To install Apache, you must be an Administrator. If you do not log on as an Administrator, refer to Baidu.
2. The default listening port of Apache is 80 conflict with that of IIS. If IIS is installed on your machine, you need to modify the default port of IIS. For details, refer to Baidu.
[Apache installation and basic configuration]
Installing Apache manually is easier than installing Apache in a silly way. If it is installed in the C root directory, you can directly remove the installation package and put it in the C root directory.
However, we usually place Apache and PHP on other disks for installation. In this example, we install them in D: \ Server. The directory structure is as follows:
Copy and paste the folder httpd-2.2-x64 decompressed by httpd-2.2.19-win64.rar to D: \ Server.
2. Because the installation location is not the default one, you need to modify the configuration file as follows:
1. Modify the installation path
Open the file D: \ Server/httpd-2.2-x64 \ conf \ httpd. conf in notepad, modify row 35th ,:
You can see the "Listen 80" in line 46. If you do not want to modify the default port of IIS, you can also modify 80 here, that is, modify the default listening port of Apache.
2. Modify the default website root directory
Open the file D: \ Server/httpd-2.2-x64 \ conf \ httpd. conf in notepad, modify row 179th ,:
3. Modify the default domain name
Open the file D: \ Server/httpd-2.2-x64 \ conf \ httpd. conf in notepad, modify row 172nd ,:
If you want to modify the default listening port of Apache, the 80 here also needs to be modified.
4. Modify the default website directory permissions
Open the file D: \ Server/httpd-2.2-x64 \ conf \ httpd. conf with notepad, modify line 193rd
3. Start -- cmd, open the cmd window, and execute the command in the Directory D: \ Server \ httpd-2.2-x64 \ bin:
Httpd-k install. The result is as follows:
Run httpd /? You can view the help information, including installation, uninstallation, startup, restart, and stop commands.
4. Run the httpd-k start command in the command line window to start the Apache service ,:
5. Enter http: // localhost in the browser ,:
[Common Apache configuration]
The basic configuration of Apache mainly includes modifying the root directory of the website and modifying the default file. For details, see install and configure the PHP environment under my blog 32-bit Win7 (1 ), here we will briefly describe the basic operations.
1. Change the website root directory
1. Create a folder Web in the D: \ Server folder;
2. open the file D: \ Server/httpd-2.2-x64 \ conf \ httpd. conf with notepad, modify lines 179th and 206 ,:
1. Modify the default file
Modify row 240th ,:
[PHP installation and configuration]
See install and configure the PHP environment in 32-bit Win7 (2)
[MySQL installation and configuration]
See install and configure the PHP environment in 32-bit Win7 (3)