Page 1 of 1

PHP Install fails with -n regarding C++ 2008 runtime

PostPosted: 03. February 2017 23:34
by pmcmicha
I get the message stating that this is failing even though the 2008 C++ runtimes are already installed on my system. I can run the same command from my command line and everything works perfectly. Not sure where the issue lies during the installation process, however I did note that in the test_php.bat file, that it was not testing for this key:
Code: Select all
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}


I added the following to the test_php.bat file:
Code: Select all
After line 16, added:
set runtime8_k=HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3C3D696B-0DB7-3C6D-A356-3DB8CE541918}

After line 71, added:
reg query "%runtime8_k%" /v DisplayVersion
if %ERRORLEVEL% EQU 0 (
    goto runtime_success
)

Re: PHP Install fails with -n regarding C++ 2008 runtime

PostPosted: 04. February 2017 12:19
by Nobbie
pmcmicha wrote:I get the message stating that this is failing even though the 2008 C++ runtimes are already installed on my system. I can run the same command from my command line and everything works perfectly.


What is "this" (from. "this is failing") and which command do you mean by "run the same command"? The subject "PHP Install fails with -n regarding C++ 2008 runtime" does not tell me anything, i dont understand it. What exactly are you doing?

pmcmicha wrote:I added the following to the test_php.bat file:


i dont know a test_php.bat file, where did you get this file?