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

时间:2018-02-16 14:19:13

标签: docker docker-compose phpstorm

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

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

enter image description here

单击同步按钮时,出现“正在使用的地址”错误。

enter image description here

1 个答案:

答案 0 :(得分:0)

我能够通过将服务从bind更改为php来找到php可执行文件,并确保容器(devilbox运行多个)没有运行。

enter image description here

我还有关于如何运行功能测试的问题。目前它无法工作,因为它需要运行devilbox / docker容器。