The following articles mainly describe the actual operation process of building an apache + php + MySQL server. If you are interested in the actual operation process of building an apache + php + MySQL server, the following articles will provide you with relevant knowledge.
Httpd. conf settings
1. Change the port to 8080.
Listen 8080.
2. Change the website root directory
- DocumentRoot "F:/WebRoot"
3. Change the default file of the website query folder
- DirectoryIndex index.html index.htm index.php
Note that the space is not a comma
4. Test Chinese
Install PHP
1. Add: D: \ php5; D: \ php5 \ ext to the Path of the system environment variable.
2. Change the file name of php. ini-dist under d: \ php5 to php. ini.
Find doc_root and change it to doc_root = F: \ WebRoot.
Find extension_dir and change it to extension_dir = "./ext"
Remove the ";" before the following modules:
Extension = php_dba.dll, extension = php_dbase.dll, extension = php_MySQL.dll.
The above content is an introduction to the Construction of apache + php + MySQL servers. I hope you will have some gains.