损坏的 Wampserver - 如何恢复? [英] Corrupt Wampserver - how to recover?

查看:40
本文介绍了损坏的 Wampserver - 如何恢复?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天早上我的笔记本电脑崩溃了,之后 wampmanager.ini 损坏了.我找到了如何通过粘贴替换并确保此行指向正确的目录来解决该问题:

My laptop crashed this morning after which the wampmanager.ini was corrupted. I found out how to resolve that by pasting in a replacement and ensuring that this line pointed to the correct directories:

动作:运行;文件名:c:/wamp/bin/php/php5.4.3/php-win.exe";参数:refresh.php";WorkingDir:c:/wamp/scripts";标志:waituntilterminate

Action: run; FileName: "c:/wamp/bin/php/php5.4.3/php-win.exe";Parameters: "refresh.php";WorkingDir: "c:/wamp/scripts"; Flags: waituntilterminated

但是,我仍然收到错误消息000F15A0 处的 wampmanager.exe 模块中的异常接收.无法执行运行操作:目录名称无效.

However, I still get an error "Exception Eception in module wampmanager.exe at 000F15A0. Could not execute run action: The directory name is invalid.

我检查了:c:/wamp/bin/php/php5.4.3/php-win.exe"和c:/wamp/scripts".我什至将它们粘贴到页面顶部的地址行中,以确保它们被找到.

I have check: "c:/wamp/bin/php/php5.4.3/php-win.exe" and "c:/wamp/scripts". I even pasted them into the address line at the top of the page to make sure and they were found.

请问我有哪些选择?

我可以进行维修吗?是不是重新安装会更快?如果我重新安装,我需要复制哪些目录才能保存我的数据库?

Can I run a repair? Is it just quicker to reinstall? If I reinstall which directories do I need to copy in order to save my database?

我对此知之甚少,因此如果您能具体说明,我们将不胜感激(例如,尽可能提供完整的文件路径).

I do not know much about this so if you can be specific please that would be very much appreciated (e.g., full file paths where possible).

谢谢,

格林

我发现了这个:http://forum.wampserver.com/read.php?2,71125,printview,page=1

https://superuser.com/questions/373255/wamp-not-working-on-windows-7-64bit

现在我需要确定我使用的是 WampServer 32 位还是 64 位.请问我该怎么做?

Now I need to work out whether I am using WampServer 32 bit or 64 bit. How do I do this please?

推荐答案

您就快到了,每次运行 wamp 时都会重新创建 wampmanager.ini.您真正需要的是一个未损坏的 wampmanager.tpl.

You are nearly there, wampmanager.ini is recreated every time you run wamp. What you actually need is an uncorrupted wampmanager.tpl.

如果您有备份,请替换 \wamp

If you have a backup, replace the wampmanager.tpl file in \wamp

第二个答案:

你可以试试这个.

重命名旧的 wamp 文件夹.

Rename the old wamp folder.

再次安装 WAMP,使用相同版本的 wamp Apache、MySQL.

Install WAMP again, using the same version of wamp Apache,MySQL.

将您的数据库从旧位置复制到新位置 + 任何网站代码.

Copy your database's from old location to new location + any website code.

那应该能让你回到原来的样子.

That should get you back to where you were roughly.

这篇关于损坏的 Wampserver - 如何恢复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆