I installed php version 7.2 (I use the Open Server). In PhpStorm for CLI Interpreter, I was able to select it, but for PHP language level I can not. Why is that? How to fix?

Here are the screenshots: enter image description here enter image description here

  • one
    the storm clucks the version with composer.json and there seems to be a different one. either specify in the composer or disable the sync as in a similar question in English on stackoverflow.com/questions/49272977/… - Lexx918

2 answers 2

See the project's composer.json file. If it is addicted

 "require": { "php": "^7.1", 

PHPStorm will not let you choose version 7.2.

    PHP 7.2 is supported starting with PhpStorm 2017.2.1.