PHP Remote Interpreter folder not showing up in Php Storm

Following this article: https://www.jetbrains.com/help/phpstorm/configuring-remote-interpreters.html

I'm trying to set up a remote PHP Interpreter in Vagrant. The SSH connection is successful, but within PHP Storm, I'm unable to see the directory where my php.ini file is stored. Why can't I see those files within PhpStorm? How should I get around this issue?

0
4 comments

PhpStorm gets the php.ini location automatically by executing \path\to\php -i. Any chance you have set a wrong path to the PHP executable?

Also, what is the error message when you are trying to click Reload phpinfo in the interpreter settings?

0
Avatar
Permanently deleted user

My php.ini file lives in my vm at "/etc/php/7.3/cli". When I browse for the executable, I don't see the php folder within the etc folder. I tried to just type the path in the PHP executable section instead of browsing the file structure, but PhpStorm isn't finding the .ini file. 

I also clicked Reload phpinfo, but I'm getting the same error - "Interpreter doesn't exist on remote server"

0
Avatar
Permanently deleted user

Is there any reason why phpstorm wouldn't be able to see files within my vm?

 

 

0

Any chance you could try logging in as root?

0

Please sign in to leave a comment.