致力于为用户提供真实的
主机测评数据及优惠信息

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

复制代码 代码如下:

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

C:Documents and SettingsAdministrator>cd C:Program FilesApache Software Foun
dationApache2.2bin

C:Program FilesApache Software FoundationApache2.2bin>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 FilesApache Software FoundationApache2.2bin>
C:Program FilesApache Software FoundationApache2.2bin>cmd /k httpd.exe -k in
stall -n apache2
[Sat Feb 21 18:36:41 2009] [error] apache2: Service is already installed.

C:Program FilesApache Software FoundationApache2.2bin>

配置
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

赞(0) 打赏
未经允许不得转载:爱主机 » windows安装apache系统中无apache2服务解决方案
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址