To use an interpreter configuration, you need path mappings that set correspondence between the project folders, the folders on the server to copy project files to, and the URL addresses to access the copied data on the server. In the Configure Remote PHP Interpreter dialog that opens, choose the SSH method.įrom the SSH configuration list, choose one of the created SSH configurations, or click and create a new configuration as described in Create SSH configurations. In the CLI Interpreters dialog that opens, click in the left-hand pane, then choose From Docker, Vagrant, VM, WSL, Remote. On the PHP page that opens, click next to the CLI Interpreter list. Press Control+Alt+S to open the IDE settings and then select PHP. If the plugins are disabled, enable them on the Installed tab of the Plugins page as described in Install plugins.Ĭreate an SSH configuration as described in Create SSH configurations.
Make sure the PHP Remote Interpreter and FTP/SFTP/WebDAV Connectivity plugins are enabled. By using SSH, you can access a PHP interpreter through the SSH access to the host where the PHP interpreter is installed.Ĭonfigure access to an ssh server on the target remote host and make sure this server is running.