在Windows上的远程服务器(FTP)上使用Eclipse开发PHP [英] Developing PHP with Eclipse on a remote server (FTP) on Windows

查看:1296
本文介绍了在Windows上的远程服务器(FTP)上使用Eclipse开发PHP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个真正的klutz,当谈到Eclipse,但我也很差,这就是为什么选择我选择。

I'm a real klutz when it comes to Eclipse, but I'm also poor, which is why it is the option I've chosen.

我已经安装了Eclipse 3.5,Eclipse for PHP和RSE。实际上,我已经可以创建一个新的(本地)项目,并将所有文件下载到本地(Windows)计算机。我没有在本地的盒子上运行任何类型的网络服务器,希望现在可以保持这种方式。

I've installed Eclipse 3.5, Eclipse for PHP, and RSE. I've actually gotten to a point where I can create a new (local) project and download all files to my local (Windows) computer. I'm not running any kind of web server on my local box, and am hoping to keep it that way for now.

我将远程文件夹导入到本地项目,我可以看到我所有的PHP文件并编辑它们。当然,当我保存时,它只是保存本地副本。没有put命令吗?我不能直接保存到服务器?还是立即同步一个文件?我确实不希望在每一个小的增量更改后都执行一个复杂的同步操作。

I've imported my remote folder into my local project, where I can see all my PHP files and edit them. But of course, when I save, it just saves the local copy. Is there no "put" command? Can I not save straight to the server? Or perform an immediate sync of that one file? I certainly wouldn't want to have to perform a complex sync operation after every little incremental change.

我不知道RSE真的是什么,它的工作原理,文件是最好的掩护,最坏的情况下是不存在的。有没有人对我有一些技巧?我的工作流程应该是什么(禁止任何本地服务器进行测试)?

I have no idea what RSE really is, nor how it works, and the documentation is, well, cloaked at best, non-existent at worst. Does anyone have some tips for me? What should my workflow be (barring any local server to test)?

理想情况下,我希望能够从其位置直接打开整个项目远程服务器,并避免完全处理本地副本。否则,我会愿意获得整个远程站点一次,然后手动放置本地更改的个别文件,只要这不是一个繁琐的过程。我问太多了吗? Dreamweaver以这种方式运行,但是对PHP的支持最多是有限的,不能被认为是一个完整的IDE ...

Ideally, I would love to be able to open up the entire "project" directly from its location on the remote server and avoid dealing with a "local" copy altogether. Failing that, I would be willing to "get" the entire remote site once, and then manually "put" individual files that I change locally back, provided it's not a cumbersome process. Am I asking too much? Dreamweaver operates this way, but it's support for PHP is limited at best and can't be considered a full-fledged IDE...

推荐答案

我使用 WinSCP 并启用远程同步

通过服务器上的SCP / FTP自动同步更改本地的所有内容。

I use WinSCP and enable remote synchronization.
Everything which changes local is automatically synchronized trough SCP/FTP on the server.

这篇关于在Windows上的远程服务器(FTP)上使用Eclipse开发PHP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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