PhpStorm 2022.1 Help

Remote development

Since working remotely became a necessity, PhpStorm offers the Remote Development functionality to help you code, run, debug, and deploy your projects remotely.

Prerequisites

Before you start developing on the remote machine, make sure you have the following:

  • Remote machine (a target for an IDE) meets the minimum recommended requirements that can be found in IDEs articles.

  • You have installed a compatible SSH server on the Linux platform.

  • The Linux platform has any recent Linux AMD64 distribution such as Ubuntu 16.04+, RHEL/Centos 7+, and so on. There is no arm64 support yet. We recommend using machines with 2+ cores, 4GB+ of RAM, and 5GB+ of disk space.

  • You need to have the sftp subsystem enabled on the remote host. In the current implementation, we use it for the backend deployment.

JetBrains Gateway is used as an entry point to connect to a remote server via SSH. It launches JetBrains Client, which is a thin client that enables you to work with your remote project.

JetBrains Gateway

You can use one of the following ways to launch JetBrains Gateway:

  • Use PhpStorm and the enabled Remote Development Gateway plugin in it. In this case, when you open the PhpStorm welcome screen, the Remote Development option will be available immediately and you can connect to your remote server using SSH.

    PhpStorm welcome screen
  • Install JetBrains Gateway using the JetBrains Toolbox App.

    Toolbox
  • Manually download and install JetBrains Gateway app.

    Depending on your local OS, use one of the following installers:

    Download the JetBrains Gateway 2021.3 .dmg.

    Download the JetBrains Gateway 2021.3.dmg.

    Download the JetBrains Gateway 2021.3 .exe.

    Download the JetBrains Gateway 2021.3 .tar.gz.

Licensing

Gateway itself is a free application but you should have a license for the remote IDE.

The licensing of Remote Development is handled on the local machine and is covered by your existing active IDE license. No license information is passed to or saved on the remote server. You can start the IDE backend without entering the license information since JetBrains Gateway is a free application.

The license will be checked later when you connect to the launched IDE backend. Product in the license on your local machine must match the remote backend IDE. If you use a corporate floating license server, that's your local (client) machine which must be able to reach this server. In this context nothing is changed from the same local PhpStorm mechanism.

For the information on how to configure the Remote Development environment and open your project, refer to Getting started with remote development.

If you want to see the detailed information about the Remote Development architecture and definitions, refer to Remote development overview and FAQ about remote development.

If you have encountered problems, contact the Remote Development support (support@jetbrains.com) or create an issue/report in our YouTrack

Last modified: 13 May 2022