Build Apache+php+mysql Environment under Windows

Source: Internet
Author: User
Tags learn php php development environment

PHP development environment is a headache for beginners to learn PHP's first problem, many children's shoes in order to save time often directly installed Wamp integrated software, so that although the convenience of the novice children's shoes, but, personally, this for learning PHP and later understanding of the PHP principle will cause considerable distress, Many children's shoes and even the coding process errors will not be resolved, because it is not known that the environment is wrong or coding error.

  • Apache Environment

Apache Official website: http://httpd.apache.org/

The official website only provides the source code download, does not provide the Windows under the binary file, therefore needs to download the compiled binary file in the third party, officially recommended Apachehaus.

Steps:

  1. Download the zip archive and unzip the package.
  2. Modify the apache24\conf\httpd.conf,32 line Define srvroot "\apache24" to Define srvroot "C:\amp\Apache24", where C:\amp is the decompression path.
  3. CMD switch into C:\amp\Apache24\bin, enter command installed to system service: Httpd-k install.
  4. No error, and the browser input http://192.168.66.100/display It works page to identify the Apache environment installation success.

Build Apache+php+mysql Environment under Windows

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.