Eclipse PHP Zend:运行旧脚本,即使它已被修改并保存?
我正在使用 zendserver 运行 eclipse php 并使用 zend 调试器进行调试。这一切都奏效了。但是,由于计算机崩溃,我刚刚重新安装了 Windows 7,并将 Eclipse 文件夹从旧 Windows 拖到了新的(当前)安装的 Windows 中。
当我编辑旧文件index.php时,我保存了它然后在调试模式下运行,但无论我编辑多少,它看起来都完全相同。这可能是什么原因?
谢谢!
i am running eclipse php with zendserver and debugging with zend debugger. that all worked. however, i just reinstalled windows 7 due to a computer crash and dragged over my eclipse folder from my old windows to my new (current) installation of windows.
when i edited my old file, index.php, i saved it then ran in debug mode, but it looks exactly the same no matter how much i edit it. what could be the cause of this?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Garrett,当我第一次安装 Zend Server 时,我就遇到了这个问题。我不能 100% 确定您的问题与我的相同,但可能值得检查以下内容。这与 Zend Studio 没有对 Zend Server 的 htdocs 的写入权限有关,因为它是使用管理员权限安装的。
如果您在以下位置找到文件:C:\Users\YOUR USERNAME\appdata\Local\VirtualStore\Program Files\Zend,那么您遇到了同样的问题。更改 htdocs 目录的目录权限应该可以解决该问题。
但话又说回来,这可能是完全不同的事情。
Garrett, I ran into this exact issue when I first installed Zend Server. I'm not 100% sure your issue is the same as mine, but it might be worth checking the following. It has to do with Zend Studio not having write permissions to Zend Server's htdocs, due to it being installed with Admin rights.
If you find your files in: C:\Users\YOUR USERNAME\appdata\Local\VirtualStore\Program Files\Zend then you're having the same issue. Changing the directory permissions on your htdocs directory should resolve it.
Then again, it might be something completely different.
有没有办法清除缓存?有时,当您通过某种开发框架查看内容时,它可以使用系统自带的浏览器作为基础,也许可以尝试清除计算机上所有浏览器的缓存
Is there a way to clear the cache perhaps? Sometimes when you view stuff through some kind of development framework it can use the system's own browser as a base, maybe try clearing the cache of all the browsers on your machine