To install PHP in Windows R2, you need to install Microsoft Visual C + + redistributable (x64), and the result provisioning failed.
The following text is found in the first
Find Windows6.1-kb2999226-x64.msc in C:\ProgramData\Package cache\ and back up this file. Programdata may be a hidden folder, you can enter the address directly in the address bar. Recommended to find the MSU file with the search function, there are a lot of things, temporary generation and each location is not the same
- "C:\ProgramData\Package cache\42d5bec7ddfbd49e76467529cbc2868987bf8460\packages\patch\x64\ WINDOWS6.1-KB2999226-X64.MSU "
Start cmd in administrator mode and go to the location selected in step 1, and then click Execute
CD C:\ProgramData\Package cache\42d5bec7ddfbd49e76467529cbc2868987bf8460\packages\patch\x64
Wusa.exe windows6.1-kb2999226-x64.msc/extract:xxxx
Dism.exe/online/add-package/packagepath:xxxx\windows6.1-kb2999226-x64.cab
Here xxxx is just the name of a folder.
4. Re-execute Vc_redist.x64.exe, select Repair
If it still does not work.
It's been a long day. found that Microsoft Visual C + + redistributable (x64) does not support R2 only support R2 SP1
Microsoft Visual C + + redistributable (x64)-14.0.2306 Setup failed