I just set up a new CLI Interpreter, and I noticed in the PHP Runtime tab, a button named 'Sync Extensions with Interpreter'; to be safe, I looked up the name and found this this doc (thankfully using the same button name):
It says: "To load the set of stubs that matches the set of loaded extensions for the currently configured CLI interpreter, click the Sync Extensions with Interpreter button."
OK, so to me this means "PHPStorm will check the boxes in each section (Core, Bundled, External, PECL, Other) of extensions that the interpreter has loaded, and uncheck ones that aren't loaded."
Since my `php -v` and phpinfo() shows the correct version and paths, I know that it's hitting the correct places.
However, when I actually click the button, with PECL opened and various boxes checked, it unchecks them all and shows a green pop-up saying it enabled 0 and disabled 82 extensions:
Why would it do this when it had a bunch checked? I assumed PHPStorm upon being told which php file interpreter to use would already check loaded extensions and check boxes for loaded ones it found, when instead it seems to either pre-check some assumed defaults (based on what?) or has misread which are loaded at the time of interpreter selection or when I clicked the button...
Since I didn't note which were already checked, I don't know if any of them should be for PHPStorm to behave right for me where this applies...
Deleting the CLI interpreter (in settings of course) and re-creating it (always for the IDE, not just the Project) didn't re-check anything... it left them all the way the previous setup did. Now I'm worried. I don't want a desynchonization in validation or tracing with the editor and the server site, and I don't know what to do now.
What is happening that's correct here? Otherwise, what is going wrong? What do I do now?