Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 731
garci560 Avatar asked Dec 12 '25 14:12

garci560


1 Answers

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.

like image 104
dzikoysk Avatar answered Dec 15 '25 04:12

dzikoysk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!