Wampserver 2.0 的奇怪问题 - 回滚文件更改 [英] Strange problem with Wampserver 2.0 - rollback change of file

查看:21
本文介绍了Wampserver 2.0 的奇怪问题 - 回滚文件更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 7 上运行 Wampserver 2.0,我得到了一些 php 文件,将它们插入到 www 文件夹中......当我尝试使用正在运行的服务器编辑任何文件时,它会回滚几秒钟(在记事本++中,我收到按摩警报:其他程序修改了该文件,您要重新加载它吗?")当我重新加载文件时,我得到了旧版本的文件.

I have running Wampserver 2.0 on Windows 7, I get some php files, insert them on www folder... and when I tried edit any with running server, its rollback for few seconds (in notepad++ I get alert with massage: "some other program modified that file, do you want to reload it?") when I reload file I got old version of file.

服务器关闭后,我可以编辑文件,但是当它再次运行时,文件再次回滚.请帮忙.

With server turned off, I can edit files, but when it goes on again files rollback again. Please help.

推荐答案

可能原因可能与 Wampserver 无关.即使服务器在编辑时(保存更改之前)收到对特定文件的请求,它也不会替换更改的 php 文件.这可能是由于您的计算机中运行了一个自动化脚本,例如部署脚本.请检查是否有此类脚本/服务正在运行.

Probably the cause may not related to Wampserver. It does not replace changed php files even if the server get requests for the particular file in the time of editing (before saving changes). This may be due to an automated script running in your computer such as a deplyment script. Please check whether if there any such script / service running.

这篇关于Wampserver 2.0 的奇怪问题 - 回滚文件更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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