如何设置 PhpStorm 以便 Docker Compose Interpreter 可以使用 PHP 可执行文件?

How do I set up PhpStorm so that the Docker Compose Interpreter can use the PHP executable?

我正在尝试按照 this JetBrainsTV video 将 Docker 与 PhpStorm 集成。 (容器工作正常 - 它已启动 运行)。

在 CLI 解释器编辑屏幕上,显示 PHP 未安装。

当我点击同步按钮时,出现 'Address in use' 错误。

我能够通过将服务从绑定更改为 php 并确保容器(devilbox 运行 多个)不存在,从而找到 php 可执行文件运行宁.

我还有更多关于如何 运行 的问题,比如功能测试。目前这不起作用,因为它需要 devilbox/docker 个容器 运行ning.