windows安装apache系统中无apache2服务解决方案
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
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
-
-
-
-
UOS arm换源
清华源mv/etc/apt/sources.list /etc/apt/sources.list.bak备份原始...
[阅读全文]
-
-
IT基础与云计算
软路由器(IPtable)iptable是Linux上常用的防火墙软件。负载均衡负载均衡是网络基础构架的关键组件...
[阅读全文]
-
-
嵌入式行业职位分析
嵌入式开发涵盖硬件软件,开发链条很长,要根据自己的实际情况选择适应的职位。嵌入式的职位大概有:1、硬件工程师:负...
[阅读全文]
-
网友评论