1升级后的Apache不工作

1升级后的Apache不工作

本文介绍了是Windows 8.1升级后的Apache不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从Windows 8今天的Apache升级到Windows 8.1后不工作了。最后一次从Windows 7升级到Windows 8,当我有这个问题,不得不重新安装我的所有服务器组件,但我并不想这样做,这一次,我失去所有我之前的数据库。

After upgrading to Windows 8.1 from Windows 8 today Apache isn't working anymore. I had this problem when upgrading last time to Windows 8 from Windows 7 and had to re-install all my server components but I don't want to do that this time as I loose all the databases I had before.

有谁知道我能做些什么,以我重新Apache服务器,PHP和MySQL服务器?

Does anyone know what I can do to reconnect my Apache server, PHP and MySQL servers?

Apache 2.2的
PHP 5。

Apache 2.2PHP 5.

推荐答案

您应该从 SERVICES.MSC启动MySQL,Apache和/或WAMP服务。如果无法找到他们,你需要将其重新安装为服务。

You should start the MySQL, Apache and/or WAMP services from services.msc. If cannot find them, you will need to re-install them as services.

在几句话,您需要从提升的命令提示符下执行以下二进制文件:

In few words, you need to execute the following binaries from an elevated command prompt:


  • httpd.exe -k安装,这里是它如何工作的:的

  • mysqld.exe --install ,这里是它是如何工作的

  • httpd.exe -k install, here is how it works: http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc
  • mysqld.exe --install, here is how it works http://dev.mysql.com/doc/refman/5.1/en/windows-start-service.html

如果你不能找到他们,从命令提示符尝试这个办法:

If you cannot find them, try this from a command prompt:

cd c:\
dir /s /b mysqld.exe
dir /s /b httpd.exe

这时你会发现它们。

Then you will find them.

这篇关于是Windows 8.1升级后的Apache不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 18:58