I'm trying to setup remote tests execution and debugging in PHPStorm following those two articles from JetBrains:
- Running PHPUnit tests over SSH on a remote server with PhpStorm
- Working with Remote PHP Interpreters in PhpStorm
I'm working in PHPStorm 9.0.2 on Windows 8.1, and my VM is Debian Jessy sitting inside Virtual Box v 4.3.26. VM is connected to host OS via host-only interface. Host machine has IP 192.168.10.1 and guest one has IP 192.168.10.2.
My problem so far is remote interpreters in PHPStorm, i.e if I do:
- Go to PHPStorm setting
- Find
Languages & Frameworks -> PHP
- See
Interpreter
option and click the...
button to open the interpreters Window. - Specify my connection settings as on attached screenshot
- If I press button 1, then PHPStorm shows a choose-folder dialog which corresponds to server file structure and I can actually choose the right path to php executable there. PHP is indeed located at
/usr/bin/php
. - If I press button 2, then dialog 3 appears and stays on the screen forever. The only way to get rid of it is to kill network connection or kill PHPStorm.
I tried googling the issue, but failed to find anything related. My private key file is in PuTTY *.ppk format. My user has permissions to write and read from project folder, though it is not the same user as apache uses.
If I go to Tools -> Start SSH session
then PHPStorm starts a terminal session using provided credentials, i.e. it doesn't seem to be a SSH connection issue, rather smth else.
Would be great to get any hint on this issue.