It is not difficult to build an apache + php + MySQL Server

Source: Internet
Author: User

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

 
 
  1. DocumentRoot "F:/WebRoot" 

3. Change the default file of the website query folder

 
 
  1. 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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.