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?
Please sign in to leave a comment.
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 phpinfoin the interpreter settings?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"
Is there any reason why phpstorm wouldn't be able to see files within my vm?
Any chance you could try logging in as root?