如何在vista上安装apache2?

如何在vista上安装apache2?

请问如何在vista上安装apache2?
我使用msi安装文件,但是在安装过程中出现服务无法注册和启动的错误。

注册服务时:

Installing   the   Apache2.2   service
(OS   5)拒绝访问。     :   Apache2.2:   Failed   to   add   the   RunServices   registry   entry.

启动服务时:

[Fri   Mar   23   01:20:23   2007]   [error]   (OS   2)系统找不到指定的文件。     :   No   installed
service   named   "Apache2.2 ".

请高手帮忙解决这个问题,谢谢。
你需要管理员权限才可以安装系统服务。

vista默认登录用户是普通用户。
可是我使用runas   /user:administrator   httpd.exe   -k   install也不行,拒绝访问。
牛人,都用上Vista了,是正版的吗?多少银子?
我用的是管理员帐户,也提示搂住信息,不知什么原因
好像目前是装不上的.

服务机制不同.

apache好像还没有出支持vista的版本吧?vista跟其他的windows版本不太一样,不是以往的完全向下兼容了。
[Sat   May   05   11:15:30   2007]   [crit]   (22)Invalid   argument:   unable   to   replace   stderr   with   error_log
[Sat   May   05   11:15:30   2007]   [crit]   (2)No   such   file   or   directory:   unable   to   replace   stderr   with   /dev/null

我已经使用administrator权限安装apache2的服务了,并且可以启动了
但是在执行过程中出现错误,服务停止了,上面是error   log.
我发现使用httpd.exe   -k   start   可以启动服务,但中途会停止
使用快捷方式说找不到服务
在服务中也没有apache2这个服务。
试试

First   of   all,   I   turned   off   User   Account   Control:

1.   Start   >   Control   Panel
2.   User   Accounts
3.   Click   "Turn   User   Accounts   Control   on   or   off "   Link.
4.   Uncheck   "Use   Uer   Account   Control "   Box
5.   Click   OK
6.   Restart   Windows

I   then   downloaded   the   MSI   Apache   installer   version   from   Apache.org,   and   saved   it   to   my   desktop.   I   then   renamed   the   file   to   apache.msi

I   then   ran   the   installer   through   the   command   prompt   running   in   Administrator   mode:

1.   Start   >   All   Programs   >   Accessories
2.   Right-Click   "Command   Prompt "   and   choose   "Run   as   Administrator "
3.   Change   to   your   desktop   folder   (usually   cd   desktop)
4.   Type   the   following:   "msiexec   /i   apache.msi "
5.   Run   through   the   Apache   installer   as   normal.

After   Apache   had   been   installed   and   I   had   restarted   my   machine,   I   wanted   to   get   rid   of   the   annoying   red   error   box   that   appears.   This   is   due   to   the   "Monitor   Apache   Services "   program   trying   to   load   at   startup.

Delete   it   from   the   startup   folder   of   the   start   menu   (Start   >   All   Programs   >   Startup)

You   should   then   be   able   to   start   and   stop   Apache   using   the   icons   in   the   start   menu   under   the   Apache   >   Control   Apache   Server   folder.   Better   still,   why   not   make   a   shortcut   to   them   on   your   desktop   for   easier   access.