开启apache服务

安装后如果需要手动添加Sevice,可以按照如下方法:

Apache版本:httpd-2.2.15_win32

Apache Service Monitor 提示:“No services installed”

安装Service

1)运行

2)键入命令:cmd

3)进入Apache安装目录下的bin目录:cd C:\Program Files\Apache Software Foundation\Apache2.2\bin

4)键入命令:httpd.exe -k install -n apache2.2

结果显示:

Installing the apache2.2 servece

The apache2.2 service is successfully installed.

删除Service

修改4)键入命令:httpd.exe -k uninstall -n apache2.2

结果显示:

Removing the apache2.2 service

The apache2.2 service has been removed successfully.

启动Service

键入命令:net start apache2.2

Windows环境 Apache 安装后手动添加Service方法
2011-05-26 16:48
安装后如果需要手动添加Sevice,可以按照如下方法:

Apache版本:httpd-2.2.15_win32

Apache Service Monitor 提示:“No services installed”

安装Service

1)运行

2)键入命令:cmd

3)进入Apache安装目录下的bin目录:cd C:\Program Files\Apache Software Foundation\Apache2.2\bin

4)键入命令:httpd.exe -k install -n apache2.2

结果显示:

Installing the apache2.2 servece

The apache2.2 service is successfully installed.

删除Service

修改4)键入命令:httpd.exe -k uninstall -n apache2.2

结果显示:

Removing the apache2.2 service

The apache2.2 service has been removed successfully.

启动Service

键入命令:net start apache2.2

你可能感兴趣的:(apache)