首页 > 网站 > Apache > 正文

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

2024-08-27 18:26:51
字体:
来源:转载
供稿:网友
复制代码 代码如下:

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+php+mysql 环境配置方法Windows下Apache应用环境塔建方法Windows下Apache应用环境塔建安全设置(目录权限设置)基于Windows下Apache PHP5.3.1安装教程Apache+php+Mysql在Windows下配置环境步骤说明WINDOWS系统 + Apache +PHP5 +Zend + MySQL + phpMyAdmin安装配置方法WIN2003下安装amp(apache+mysql+php+phpmyadmin)环境apache在win2003下的安全设置(配合文件夹权限目录,很好很安全)
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表