如何在Windows 8.1安装WAMP Apache服务 [英] How to install WAMP Apache Service on Windows 8.1
问题描述
我想在Windows上运行8.1 WAMP 64位,但它不工作;当我启动它,图标是橙色和本地主机是没有找到。
I'm trying to run WAMP 64 bits on Windows 8.1 but it's not working ; When I launch it, the icon is orange and localhost isn't find.
我已经完全地卸载了Skype公司,试图修改httpd.conf文件,对主题说hosts文件类似,但没有这样做。
I've completly uninstalled Skype, tried to modify httpd.conf, hosts file like said on topics, but nothing to do.
我试过<一个href=\"http://stackoverflow.com/questions/19480443/apache-not-working-after-windows-8-1-upgrade\">this ( httpd.exe -k安装
),但它引发我一个错误:应用程序无法正常启动[...]
。
I tried this (httpd.exe -k install
) but it throws me an error : the application was unable to start correctly [...]
.
其他命令的工作部分(不抛出一个错误)。
我已经下载并安装C ++ Redistribuable但它不会影响WAMP明显。
The other command works partially (doesn't throw an error). I've downloaded and installed C++ Redistribuable but it doesn't affect WAMP apparently.
任何想法?
编辑:这里有我的安装运行时MSVC:
EDIT : here are my MSVC runtimes installed :
2008 - x64 9.0.21022
2008 - x64 9.0.30729.6161
2008 - x86 9.0.30729
2008 - x86 9.0.30729.6161
2010 - x64 10.0.40219
2010 - x86 10.0.30319
2012 - x64 11.0.61030
2012 - x86 11.0.61030
EDIT2:看<一个href=\"http://stackoverflow.com/questions/19445238/wamp-server-not-working-on-8-1/20378496#20378496\">here,在 wampapache
服务没有显示(也许没有安装?!)
EDIT2 : see here, the wampapache
service is not shown (maybe not installed ?!)
推荐答案
首先确保您已经安装了所有正确的MSVC运行时
First make sure you have all the correct MSVC runtimes installed
请确保您有最新版本的所有这些Microsoft C ++可再发行运行时库的。
Please make sure you have the latest version of all of these Microsoft C++ Redistributable runtime libraries.
2008年的Redist所使用的wampmanager
The 2008 Redist is used by wampmanager
2010年的Redist使用被Apache / MySQL的/ PHP(取决于所使用的编译器)
The 2010 Redist is used by some versions of Apache/MySQL/PHP ( depending on compiler used )
2012年的Redist使用被Apache / MySQL的/ PHP(取决于所使用的编译器)
The 2012 Redist is used by some versions of Apache/MySQL/PHP ( depending on compiler used )
FOR WAMP 32位的
FOR WAMP 32bit
微软的Visual C ++ 2008 SP1可再发行组件包(x86)一>
微软的Visual C ++ 2010 SP1可再发行组件包(x86)一>
如果您使用的是WampServer 2.4或更高版本。
If you are using WampServer 2.4 or greater
微软的Visual C ++ 2012 并选择vcredist_x86。 exe文件
Microsoft Visual C++ 2012 And select vcredist_x86.exe
FOR WAMP 64 的
FOR WAMP 64bit
微软的Visual C ++ 2008 SP1可再发行组件包(x86)一>
是你所需要的X86包而不管
微软的Visual C ++ 2008再发行组件包(x64)的
微软的Visual C ++ 2010 SP1再发行组件包(x64)的一>
如果您使用的是WampServer 2.4或更高版本。
If you are using WampServer 2.4 or greater
微软的Visual C ++ 2012 并选择vcredist_x64。 exe文件
Microsoft Visual C++ 2012 And select vcredist_x64.exe
的下一步的
确保你有一个正确配置的主机
文件
C:\\ WINDOWS \\ SYSTEM32 \\ DRIVERS \\ ETC \\主机
应包含
127.0.0.1 locahost
::1 localhost
EDIT1
如果你不认为安装了Apache和MySQL服务
If you dont think the Apache and MySQL services are installed
- 检查,如果你能看到这两个服务
wampapache
和wampmysql
,如果他们在你的服务列表中,他们被安装 -
如果你想重新安装它们,只是可以肯定,这样做:
- Check if you can see these 2 services
wampapache
andwampmysql
if they are in your services lists they were installed. If you want to reinstall them, just to be sure, do this:
左键点击wampmanager - >阿帕奇 - >服务 - >删除服务
左击wampmanager - >阿帕奇 - >服务 - >安装服务
left click wampmanager -> Apache -> Service -> Remove Service left click wampmanager -> Apache -> Service -> Install Service
左键点击wampmanager - > MySQL的 - >服务 - >删除服务
左击wampmanager - > MySQL的 - >服务 - >安装服务
left click wampmanager -> MySQL -> Service -> Remove Service left click wampmanager -> MySQL -> Service -> Install Service
如果仍阿帕奇到failes做起,从Apache和/ OT MySQL的查看事件日志
,在应用程序部分可能会有消息。如果他们发生之前就可以打开它的错误日志,同上用于MySQL,Apache会在这里写错误。
If Apache still failes to start, view your Event Log
, in the Applications section there may be messages from Apache and/ot MySQL. Apache will write errors here if they happen before it can open its error log, ditto for MySQL.
这篇关于如何在Windows 8.1安装WAMP Apache服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!