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