Configure remote interpreters
To configure a remote PHP interpreter, open the PHP page of the Settings dialog (&shortcut:ShowSettings;).
Then click the browse button, in the CLI Interpreters window click Add and choose the From Docker, Vagrant, VM, Remote... option.

You can use this remote interpreter in your project, or leave it as one of the available interpreters.