Adding PHP7 CLI Interpreter fails


currently I try to add a CLI Interpretor for PHP7.0 and PHP7.1 (thread safe)  to PhpStorm on Windows7 x64. Unfortunately it is not recognized by PhpSotrm - it keeps telling me "PHP version: not installed". The "Show phpinfo" button is disabled. Anyone else has the same issue? How to solve it?

Adding CLI interpreters for PHP 5.5 and PHP 5.6 worked great.

I have the following PhpStorm version:

PhpStorm 2016.3.3
Build #PS-163.13906.21, built on March 8, 2017
JRE: 1.8.0_112-release-408-b6 x86
JVM: OpenJDK Server VM by JetBrains s.r.o




Hi there,

1) Does it show any errors etc if you run "php -v" in console (for that PHP installation)?

2) How do you point to PHP Interpreter -- pointing to a folder or selecting actual php.exe file?

3) Could you please try latest 2017.1 build -- maybe it's fixed/work better there?


P.S. It works just fine here on Windows 10 x64 for PHP versions 5.4, 5.5, 5.6, 7.0 7.0 x64, 7.1, 7.1 x64 -- nts builds though.


Oh yes, indeed!

When running php.exe -v on windows-shell I get the error message, that VCRUNTIME140.dll is missing. And I am not alone:

After installing Visual C++ Redistributable für Visual Studio 2015 php7 is working again in PhpStorm.

Issue solved!


Please sign in to leave a comment.