PhpStorm 2023.2 Help

Connect to a remote server from PhpStorm

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

Connect to a project running on WSL2

You can configure your IDE backend to launch directly in WSL2.

Before you start connecting to WSL, make sure the following prerequisites are met:

  • You have the Windows 10 or 11 version installed on your machine with the Ubuntu 20.04 version installed under WSL2.

  • You have WSL2 configured on your Windows machine. For more information, refer to the WSL2 configuration section.

  • You have at least 200 GB of available space, 8 GB RAM, and 4 CPUs.

  • You use the latest EAP build of JetBrains Gateway.

  • You use the latest EAP version of the backend IDE.

Connect to WSL

  1. Ensure you have the Remote Development Gateway plugin enabled.

  2. On the PhpStorm welcome screen, select Remote Development.

  3. Under Remote Development, select WSL.

  4. From the options on the right, click New Project.

    New Connection
  5. On the next page, select the WSL instance and click Next.

    Choose WSL instance
  6. On the next page, select the IDE version and the project you want open. Click Start IDE and Connect.

    Choose the IDE version and a project

    The connection is established, the backend IDE is downloaded, and the project is opened in JetBrains Client.

Last modified: 21 September 2023