Project doesn't display full list of added servers

Hi,
In PHPStorm, one of my projects only shows a single server in the list of choices when I choose options such as 'Upload to...' or 'Sync with Depoyed to...'
However, I have added various servers, and they appear as options in my other PHPStorm project.
Am I missing an option somewhere, or is it a bug?
Thanks,
Mike

3 comments
Comment actions Permalink

Hi there,

Deployment (yours "they appear as options in my other PHPStorm project") shows all servers regardless of the project.

In order to make any server to be associated with current project you have to provide path mappings. The fact that you see only one in "Upload to.." (and alike actions) means that you have not provided such info for other servers; if you do -- they will appear there.

0
Comment actions Permalink

Hi Andriy,
Thanks for that. Adding a path mapping worked. So the path mappings are saved per project? This is somewhat confusing and non-intuitive, as it looks as though the server has already been properly added.
Could it be made clearer that the server needs to be configured for the current project before it is usable? (And what needs to be done to configure it?)

Keep up the good work...
Mike

0
Comment actions Permalink
So the path mappings are saved per project?

Yes. Only "Connection" tab is shared (IDE-wide), all other tabs are project-specific.

This is somewhat confusing and non-intuitive, as it looks as though the server has already been properly added.

Agree on confusing part.

But that is how it is. Such approach allows you to define deployment server only once and then deploy to a different folders in different projects reusing the same server entry. Although I personally never faced with such situation -- every site in my case has unique login details.

It's all because there is no per-project deployment entries -- they all shared (since very beginning). Hopefully they (devs) will finaly make per-project entries in next major version (v9 -- corresponding ticket as "In progress" status .. but it has been like that for a while already ...)

0

Please sign in to leave a comment.