garci560
garci560

Reputation: 3213

PhpStorm says "PHP version Not installed" with PHP 5.6 on Windows

I downloaded an msi installer for PHP version 5.3 for Windows from here. After installing it, I could have PhpStorm to recognize it without any problem (successfully adding an interpreter). Now, I want to install version 5.6. There is no msi for this version, so I've downloaded a (multiple actually) zipped file. I unpack it, then go to PhpStorm, add interpreter, and when I select the php.exe file, it tells me "PHP version: Not installed".

I'm running a x64 Windows 10. I've tried both the x64 (nts and non-nts) versions in the download page, as well as the x86 versions. I also tried changing the environment variable PHPRC in case that's what the msi installer was doing. All with no luck.

Any idea of what's going on?

Upvotes: 3

Views: 6803

Answers (1)

dzikoysk
dzikoysk

Reputation: 1578

In most cases for the error PHP version: Not installed, when you manually run php.exe it throws MSVCR110.dll is missing. You should install Visual C++ Redistributable for Visual Studio 2012 - with the same architecture as downloaded php interpreter.

Upvotes: 2

Related Questions