成都网站建设设计

将想法与焦点和您一起共享

windows安装apache系统中无apache2服务解决方案

复制代码代码如下:

创新互联专注为客户提供全方位的互联网综合服务,包含不限于网站设计、成都网站设计、沙雅网络推广、微信小程序、沙雅网络营销、沙雅企业策划、沙雅品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们大的嘉奖;创新互联为所有大学生创业者提供沙雅建站搭建服务,24小时服务热线:18982081108,官方网址:www.cdcxhl.com

Microsoft Windows [版本 5.2.3790]
(C) 版权所有 1985-2003 Microsoft Corp.

C:\Documents 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)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 : make_sock: c
ould 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>

配置
httpd.conf
增加

复制代码代码如下:

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


标题名称:windows安装apache系统中无apache2服务解决方案
本文路径:http://chengdu.cdxwcx.cn/article/diecg.html