Always uses the wrong interpreter

I cannot get PhpStorm to use the right interpreter for PHP_Codesniffer.

On this screen, it will not let me change the CLI interpreter:

In the PhpStorm settings I have chosen the interpreter that I want (the one that's installed for 8.1):

I've tried double shift and typing “Change PHP interpreter” and it brings up this:

It has the one I want already selected.

How do I get it to actually use that interpreter and not the 8.2 one that it is using for every project, regardless of what I change in the settings?

0

Hi @...,

Please open the terminal on your workstation (outside of PhpStorm), run the php -v command, and share the output.

0

请先登录再写评论。