1. When installing wampserver in the reinstalled Windows 7 system, when starting the service,apache
cannot be successfully started, and the error is as follows:
2. I know that the problem is due to the loss of VC runtime library. I downloaded and installed the VC2015 runtime library and got an error:
3. The following is the content of the log file:
[137C:1380][2016-03-01T09:43:34]i001: Burn v3.7.3813.0, Windows v6.1 (Build 7600: Service Pack 0), path: C:\Users\liang\Downloads\vc_redist.x64.exe, cmdline: '' [137C:1380][2016-03-01T09:43:34]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\liang\AppData\Local\Temp\dd_vcredist_amd64_20160301094334.log' [137C:1380][2016-03-01T09:43:34]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\liang\Downloads\vc_redist.x64.exe' [137C:1380][2016-03-01T09:43:34]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\liang\Downloads\' [137C:1380][2016-03-01T09:43:34]i100: Detect begin, 10 packages [137C:1380][2016-03-01T09:43:34]i000: Setting version variable 'windows_uCRT_DetectKey' to value '10.0.10046.0' [137C:1380][2016-03-01T09:43:34]i000: Setting numeric variable 'windows_uCRT_DetectKeyExists' to value 1 [137C:1380][2016-03-01T09:43:34]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false. [137C:1380][2016-03-01T09:43:34]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false. [137C:1380][2016-03-01T09:43:34]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false. [137C:1380][2016-03-01T09:43:34]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false. [137C:1380][2016-03-01T09:43:34]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false. [137C:1380][2016-03-01T09:43:34]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false. [137C:1380][2016-03-01T09:43:34]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false. [137C:1380][2016-03-01T09:43:34]i052: Condition '(windows_uCRT_DetectKeyExists AND windows_uCRT_DetectKey >= v10.0.10137.0)' evaluates to false. [137C:1380][2016-03-01T09:43:34]i101: Detected package: vcRuntimeMinimum_x64, state: Present, cached: Complete [137C:1380][2016-03-01T09:43:34]i101: Detected package: vcRuntimeAdditional_x64, state: Present, cached: Complete [137C:1380][2016-03-01T09:43:34]i101: Detected package: Windows81_x86, state: Absent, cached: None [137C:1380][2016-03-01T09:43:34]i101: Detected package: Windows81_x64, state: Absent, cached: None [137C:1380][2016-03-01T09:43:34]i101: Detected package: Windows8_x86, state: Absent, cached: None [137C:1380][2016-03-01T09:43:34]i101: Detected package: Windows8_x64, state: Absent, cached: None [137C:1380][2016-03-01T09:43:34]i101: Detected package: Windows7_MSU_x86, state: Absent, cached: None [137C:1380][2016-03-01T09:43:34]i101: Detected package: Windows7_MSU_x64, state: Absent, cached: Complete [137C:1380][2016-03-01T09:43:34]i101: Detected package: WindowsVista_MSU_x86, state: Absent, cached: None [137C:1380][2016-03-01T09:43:34]i101: Detected package: WindowsVista_MSU_x64, state: Absent, cached: None [137C:1380][2016-03-01T09:43:34]i052: Condition 'VersionNT64 >= v6.0 OR (VersionNT64 = v5.2 AND ServicePackLevel >= 1)' evaluates to true. [137C:1380][2016-03-01T09:43:34]i199: Detect complete, result: 0x0 [137C:1380][2016-03-01T09:43:37]i200: Plan begin, 10 packages, action: Repair [137C:1380][2016-03-01T09:43:37]i052: Condition '(VersionNT64)' evaluates to true. [137C:1380][2016-03-01T09:43:37]i000: Setting string variable 'WixBundleLog_vcRuntimeMinimum_x64' to value 'C:\Users\liang\AppData\Local\Temp\dd_vcredist_amd64_20160301094334_000_vcRuntimeMinimum_x64.log' [137C:1380][2016-03-01T09:43:37]i052: Condition '(VersionNT64)' evaluates to true. [137C:1380][2016-03-01T09:43:37]i000: Setting string variable 'WixBundleLog_vcRuntimeAdditional_x64' to value 'C:\Users\liang\AppData\Local\Temp\dd_vcredist_amd64_20160301094334_001_vcRuntimeAdditional_x64.log' [137C:1380][2016-03-01T09:43:37]i052: Condition 'VersionNT = v6.3 AND NOT VersionNT64' evaluates to false. [137C:1380][2016-03-01T09:43:37]w321: Skipping dependency registration on package with no dependency providers: Windows81_x86 [137C:1380][2016-03-01T09:43:37]i052: Condition 'VersionNT = v6.3 AND VersionNT64' evaluates to false. [137C:1380][2016-03-01T09:43:37]w321: Skipping dependency registration on package with no dependency providers: Windows81_x64 [137C:1380][2016-03-01T09:43:37]i052: Condition 'VersionNT = v6.2 AND NOT VersionNT64' evaluates to false. [137C:1380][2016-03-01T09:43:37]w321: Skipping dependency registration on package with no dependency providers: Windows8_x86 [137C:1380][2016-03-01T09:43:37]i052: Condition 'VersionNT = v6.2 AND VersionNT64' evaluates to false. [137C:1380][2016-03-01T09:43:37]w321: Skipping dependency registration on package with no dependency providers: Windows8_x64 [137C:1380][2016-03-01T09:43:37]i052: Condition 'VersionNT = v6.1 AND NOT VersionNT64' evaluates to false. [137C:1380][2016-03-01T09:43:37]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x86 [137C:1380][2016-03-01T09:43:37]i052: Condition 'VersionNT = v6.1 AND VersionNT64' evaluates to true. [137C:1380][2016-03-01T09:43:37]w321: Skipping dependency registration on package with no dependency providers: Windows7_MSU_x64 [137C:1380][2016-03-01T09:43:37]i052: Condition 'VersionNT = v6.0 AND NOT VersionNT64' evaluates to false. [137C:1380][2016-03-01T09:43:37]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x86 [137C:1380][2016-03-01T09:43:37]i052: Condition 'VersionNT = v6.0 AND VersionNT64' evaluates to false. [137C:1380][2016-03-01T09:43:37]w321: Skipping dependency registration on package with no dependency providers: WindowsVista_MSU_x64 [137C:1380][2016-03-01T09:43:37]i201: Planned package: vcRuntimeMinimum_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register [137C:1380][2016-03-01T09:43:37]i201: Planned package: vcRuntimeAdditional_x64, state: Present, default requested: Repair, ba requested: Repair, execute: Repair, rollback: None, cache: No, uncache: No, dependency: Register [137C:1380][2016-03-01T09:43:37]i201: Planned package: Windows81_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [137C:1380][2016-03-01T09:43:37]i201: Planned package: Windows81_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [137C:1380][2016-03-01T09:43:37]i201: Planned package: Windows8_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [137C:1380][2016-03-01T09:43:37]i201: Planned package: Windows8_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [137C:1380][2016-03-01T09:43:37]i201: Planned package: Windows7_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [137C:1380][2016-03-01T09:43:37]i201: Planned package: Windows7_MSU_x64, state: Absent, default requested: Repair, ba requested: Repair, execute: Install, rollback: Uninstall, cache: No, uncache: No, dependency: None [137C:1380][2016-03-01T09:43:37]i201: Planned package: WindowsVista_MSU_x86, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [137C:1380][2016-03-01T09:43:37]i201: Planned package: WindowsVista_MSU_x64, state: Absent, default requested: Absent, ba requested: Absent, execute: None, rollback: None, cache: No, uncache: No, dependency: None [137C:1380][2016-03-01T09:43:37]i299: Plan complete, result: 0x0 [137C:1380][2016-03-01T09:43:37]i300: Apply begin [0B30:0E10][2016-03-01T09:43:39]i360: Creating a system restore point. [0B30:0E10][2016-03-01T09:43:45]i361: Created a system restore point. [0B30:0E10][2016-03-01T09:43:45]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: Active, restart initiated: No, disable resume: No [0B30:0FA4][2016-03-01T09:43:46]i304: Verified existing payload: vcRuntimeMinimum_x64 at path: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi. [0B30:0FA4][2016-03-01T09:43:46]i304: Verified existing payload: cab5046A8AB272BF37297BB7928664C9503 at path: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\cab1.cab. [0B30:0FA4][2016-03-01T09:43:46]i304: Verified existing payload: vcRuntimeAdditional_x64 at path: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi. [0B30:0FA4][2016-03-01T09:43:46]i304: Verified existing payload: cab2C04DDC374BD96EB5C8EB8208F2C7C92 at path: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\cab1.cab. [0B30:0FA4][2016-03-01T09:43:46]i304: Verified existing payload: Windows7_MSU_x64 at path: C:\ProgramData\Package CacheD5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu. [0B30:0E10][2016-03-01T09:43:46]i301: Applying execute package: vcRuntimeMinimum_x64, action: Repair, path: C:\ProgramData\Package Cache\{0D3E9E15-DE7A-300B-96F1-B4AF12B96488}v14.0.23026\packages\vcRuntimeMinimum_amd64\vc_runtimeMinimum_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"' [137C:1380][2016-03-01T09:43:47]i319: Applied execute package: vcRuntimeMinimum_x64, result: 0x0, restart: None [0B30:0E10][2016-03-01T09:43:47]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_amd64,v14, package: vcRuntimeMinimum_x64 [0B30:0E10][2016-03-01T09:43:47]i301: Applying execute package: vcRuntimeAdditional_x64, action: Repair, path: C:\ProgramData\Package Cache\{BC958BD2-5DAC-3862-BB1A-C1BE0790438D}v14.0.23026\packages\vcRuntimeAdditional_amd64\vc_runtimeAdditional_x64.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"' [137C:1380][2016-03-01T09:43:47]i319: Applied execute package: vcRuntimeAdditional_x64, result: 0x0, restart: None [0B30:0E10][2016-03-01T09:43:47]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64 [0B30:0E10][2016-03-01T09:43:47]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package CacheD5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package CacheD5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart' [0B30:0E10][2016-03-01T09:43:48]e000: Error 0x80240017: Failed to execute MSU package. [137C:1380][2016-03-01T09:43:48]e000: Error 0x80240017: Failed to configure per-machine MSU package. [137C:1380][2016-03-01T09:43:48]i319: Applied execute package: Windows7_MSU_x64, result: 0x80240017, restart: None [137C:1380][2016-03-01T09:43:48]e000: Error 0x80240017: Failed to execute MSU package. [0B30:0E10][2016-03-01T09:43:48]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart: None, disable resume: No [0B30:0E10][2016-03-01T09:43:48]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart initiated: No, disable resume: No [137C:1380][2016-03-01T09:43:48]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart: No
4. After that, I installed the driver, and the installation of several drivers that used the VC runtime library failed. I don’t know the reason. Please help me solve it! ! ! Thank you! ! !
Install all runtime libraries such as VC2008, VC2010, VC2015, etc. Because it is troublesome, you can directly useDriver Wizard
, which will automatically scan for missing libraries and install them.
Try it with 2010 and 2008
Directly download an api-* dll file and put it under system32 on the system disk to try it.
This depends on which version of php you have and how many bits it has. Then install the corresponding vc++ library. Give it a try