Windows 2008 installation Apache + MySQL + php

Source: Internet
Author: User

Download preparation



Get ready

Create folder under E-disk webserver for PHP + apache + mysql and www directories

Put the downloaded Apache, PHP, MySQL into the directory

Installing Apache

CMD window under E:CD webserver/apache2.4/binhttpd-k  Install

Configure Apache

Config file conf/httpd.conf# define constants Define Sysdir "E:/webserver" Define srvroot "${sysdir}/apache24" ServerRoot "${srvroot}" # Define the Site Directory DocumentRoot "${sysdir}/www" <directory "${sysdir}/www" >

Problem 80 port, 443 port occupancy problem

Clear NT Kernel & System occupies 80 port run ' Netstat-ano ' Discovery 80 port is occupied by system, process number ' 4 ' Go to Task Manager see PID corresponding process description is NT Kernel & system. Workaround: 1.1 Run ' regedit ' to open the registry.     1.2 Find the DWORD value of ' Start ' on the right of ' hkey_local_machine\system\currentcontrolset\services\http ' and change ' 3 ' to ' 4 ' to restart.


Small tools

View all end share population use Netstat-aon to view share population with netstat-aon|findstr "49157" for specified ends


Windows 2008 installation Apache + MySQL + php

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