There is no apache2 service solution for installing apache in windows.

Source: Internet
Author: User

Copy codeThe Code is as follows: Microsoft Windows [version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C: \ Documents ents and Settings \ Administrator> cd C: \ Program Files \ Apache Software Foun
Dation \ Apache2.2 \ bin

C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin> cmd/k httpd.exe-k in
Stall-n apache2
Installing the apache2 service
The apache2 service is successfully installed.
Testing httpd. conf ....
Errors reported here must be corrected before the service can be started.
(OS 10048) Generally, each socket address (Protocol/network address/port) can be used only once. : Make_sock: c
Ocould not bind to address 0.0.0.0: 8080
No listening sockets available, shutting down
Unable to open logs

C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin>
C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin> cmd/k httpd.exe-k in
Stall-n apache2
[Sat Feb 21 18:36:41 2009] [error] apache2: Service is already installed.

C: \ Program Files \ Apache Software Foundation \ Apache2.2 \ bin>

Configuration
Httpd. conf
AddCopy codeThe Code is as follows: LoadModule php5_module c:/php/php5apache2_2.dll
AddType application/x-httpd-php. php
AddType application/x-httpd-php. html
AddType application/x-httpd-php-source. phps
AddType application/x-httpd-php. htm

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.