Unable to install plugin (PHP Docker, PHP remote interpreter)

Hi, 

 

When I try to enable the  "PHP remote interpreter" plugin (from Installed tab), i have an error, cf screen capture.

If i open the Marketplace tab, i have noticed that a plugin with the same name is already enabled.

Is there a conflict ?

What is the difference between them ?

What I finally want to do is to configure the PHP interpreter from Docker but I only have "Local path to interpreter..."

 

Thanx !

 

15 comments
Comment actions Permalink

Could you please share your logs (Help | Collect Logs and Diagnostic Data) via https://uploads.services.jetbrains.com/?

0
Comment actions Permalink

here is : Upload id: 2021_11_05_RECxWcPP9UxLvZPa (file: phpstorm-logs-20211105-115905.zip)

0
Comment actions Permalink

You seem to have an outdated plugin version (212.4746.52) installed, not sure how it's even possible considering that this plugin is bundled.
Do you have this plugin listed in %USERPROFILE%\AppData\Roaming\JetBrains\PhpStorm2021.2\plugins?

0
Comment actions Permalink

Thanx for the help,

 

No, it is not in this directory. Attached, a screen of the dir.

Upload id: 2021_11_05_GLTo2LcJDNhSX7qq (file: Screenshot_236.png)

0
Comment actions Permalink

I think phpstorm-remote-interpreter is the one, please close PhpStorm, delete the folder, and check how it goes after that.

0
Comment actions Permalink

What I did :

  1. Delete the folder
  2. Reinstall the plugin "PHP remote interpreter" from Marketplace
  3. Restart IDE 
  4. I still have "PHP remote interpreter" from Marketplace tab, but when i navigate to Installed tab,  it is disabled.
  5. I select "Enable"
  6. Always same error : "Unable to apply changes: plugin "PHP remote interpreter" won't be able to load."

I have other Plugin directories on my computer, can I delete all of them ? (2020.2, 2020.3, 2021?1, 2021.2.3 )

0
Comment actions Permalink

You should not be able or need to install the plugin, it's supposed to be bundled with PhpStorm. Please try the following:

  1. Close PhpStorm.
  2. Remove this directory once again.
  3. Uninstall PhpStorm, leave the config intact.
  4. Download and install PhpStorm anew: https://www.jetbrains.com/phpstorm/download/

After that, please check the Plugins | Installed pane, I expect that the plugin will be already there.

0
Comment actions Permalink

Same behaviour. Plugin is already here, but unchecked.

  1. When I uninstalled, i leave unchecked options to remove cache ...
  2. I added 2 screens to show you the red error that I have.

Upload id: 2021_11_05_JsJu5EQeGgM9g9C4 (files: Screenshot_238.png, Screenshot_237.png)

0
Comment actions Permalink

Another thing, I changed my Phpstorm data directory to D:\ because i was missing space.

So plugin has been donwloaded automatically in the new directory D:\Program Files\JetBrains\PhpStorm 2021.2.3\plugins

0
Comment actions Permalink

At least some progress - now, the plugin is of the correct version, but it still can't be enabled.
I suspect that it has relation to the fact that you have many built-in plugins disabled. Could you please temporarily enable them all back and check if you can enable the PHP Remote Interpreter plugin now?

0
Comment actions Permalink

Great ! It worked.

I should have done it, I read a similar post (about Android plugin) and dependencies was the problem .

Thank you ! I will by dichotomy select/unselect one by one to figure out which dependecies are really needed.

Do you want me to publish the result here once it will be done (in a few hours) ?

0
Comment actions Permalink

Yes, please do. I've just tried to disable seemingly related plugins on my installation, but the plugin could still be enabled without them.

0
Comment actions Permalink

I have just had this issue too. I was able to fix it by also enabling the "Terminal" plugin. For some reason this isn't listed as a dependency when enabling the "PHP Remote Interpreter" plugin initially. Once the plugin has loaded, disabling the "Terminal" plugin or re-enabling the "PHP Remote Interpreter" plugin correctly show the "Also enabling/disabling" popup.

0
Comment actions Permalink

Thank you for sharing your findings! I could reproduce the issue by disabling the Terminal plugin.
It actually is specified as a dependency, but apparently, this check only works on disabling a plugin, not on enabling it back.

Here's a similar report on our tracker, it's about a different set of plugins, but in the private comments there, the devs came to a conclusion that it's actually a problem in the plugin management system: https://youtrack.jetbrains.com/issue/IDEA-257278

0
Comment actions Permalink

Hi,

Sorry for the delay !

I confirm that I reproduce with the "Terminal" plugin,  thank you !

0

Please sign in to leave a comment.