windows安装apache系统中无apache2服务解决方案
程序员文章站
2022-11-18 20:06:31
复制代码 代码如下: microsoft windows [版本 5.2.3790] (c) 版权所有 1985-2003 microsoft corp. c:\docum...
复制代码 代码如下:
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中安装Apache2和PHP4的权威指南_php基础
-
windows安装apache系统中无apache2服务解决方案
-
Windows中安装Apache2和PHP4权威指南
-
win7安装xampp提示windows找不到-n文件(安装成功后,443端口占用,apache服务器无法正常启动)的解决方案
-
Windows上安装Apache2、PHP5、MySQL5及与Resin配合实现多系统之整合
-
在Windows中安装Apache2和PHP4的权威指南_php基础
-
阿里云云服务器Windows2003系统中安装和使用FTP图文教程
-
Windows中安装Apache2和PHP4权威指南_php技巧
-
windows安装apache系统中无apache2服务解决方案
-
在Windows中安装Apache2和PHP4的权威指南_PHP教程