在phpstorm中使用远程服务器 [英] Using remote server in phpstorm

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

问题描述

我目前正在使用Komodo并直接在远程服务器上工作.我刚刚发现了phpstorm,我想开始尝试一下.

I currently use Komodo and work directly off a remote server. I have just discovered phpstorm and I want to start giving this a go.

我的问题是,如何像Komodo那样在远程服务器上工作?我真的不知道该怎么做!

My question is, how can I work off a remote server like in Komodo? I really couldn't understand how to do it!

推荐答案

PhpStorm(从7.1开始)不支持直接在远程服务器上工作.

您应该为此功能投票,如@CrazyCoder所述.

You should vote for the feature here as @CrazyCoder mentioned.

您可以使用SSHFS挂载直接在远程服务器上的文件上工作.这不是很理想,但是我发现它可以正常工作.

You can use a SSHFS mount to work directly on files on a remote server. It isn't ideal, but I found it works ok.

我使用以下命令和设置(在Mac上).

I use the follow command and settings (on a mac).

要安装:

sshfs -o IdentityFile=~/.ssh/id_rsa root@xxx.xxx.xxx.xxx:/ ~/sshfs_mounts/example -oauto_cache,reconnect,defer_permissions,noappledouble,volname=example

要卸载:

umount ~/sshfs_mounts/example

有关更多信息,请参见

For more info see http://benohead.com/mac-os-x-use-sshfs-to-mount-a-remote-directory-as-a-volume/

这篇关于在phpstorm中使用远程服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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