api-ms-win-crt-runtime-l1-1-0.dll is missing
Posted by: ashleycIND (45.64.15.---)
Date: March 29, 2021 10:02PM

Ran this Tool check_vcredist.exe

Installed all Packages as per the Tool
Ran Tool again
It said All Packages needed for WAMP are there

I'm on a WIN8.1 64bit (Acer V5-561G) laptop

Installed wampserver3.2.3_x64.exe
At the end of the installation i get the error:
-------------------------------------
httpd.exe - System Error
<<The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing from your computer>>
-------------------------------------


Did many many things as per various suggestions

+ updated Windows
+ uninstalled MsVC++ 2015-2019 Redistributable (x86) - 14.28.29913
+ uninstalled MsVC++ 2015-2019 Redistributable (x64) - 14.28.29913
+ reinstalled both
+ ran WAMP (stayed on Amber) 2/3 services running

+ uninstalled MsVC++ 2015-2019 Redistributable (x86) - 14.28.29913
+ uninstalled MsVC++ 2015-2019 Redistributable (x64) - 14.28.29913
+ installed MsVC++ 2015 Redistributable (x86)
+ installed MsVC++ 2015 Redistributable (x64)
+ uninstalled WAMP; and reinstalled it
+ ran WAMP (stayed on Amber) 2/3 services running

+ uninstalled MsVC++ 2015 Redistributable (x86)
+ uninstalled MsVC++ 2015 Redistributable (x64)
+ installed MsVC++ 2017 Redistributable (x86)
+ installed MsVC++ 2017 Redistributable (x64)
+ uninstalled WAMP; and reinstalled it
+ ran WAMP (stayed on Amber) 2/3 services running

Each time i reinstalled WAMP, i kept getting the "MISSING api-ms-win-crt-runtime-l1-1-0.dll" ERROR, and if i ran WAMP, only 2 out of 3 services would show as running (Amber icon in system tray)

Hope someone can guide/help
-----------------------------------------------

1 - Win 8.1 64bit
2 - WAMP 3.2.3 x64
3 - Apache 2.4.46
4 - PHP 7.3.21
5 - MySQL 5.7.31
5a - MariaDB 10.4.13
6 - WampServer icon is ORANGE (in the notification area of the taskbar)



a - Apache error log
-- ( wampmanager -> Apache -> Apache error log )
-----------------------------------------------------
- Wampserver trace report -
File created by Wampserver install




-- ( wampmanager -> Apache -> Apache access log )
-----------------------------------------------------
- Wampserver trace report -
File created by Wampserver install




b - MySQL error log ( wampmanager -> MySQL -> MySQL log )
-----------------------------------------------------
- Wampserver trace report -
File created by Wampserver install
2021-03-29T20:10:21.571984Z 0 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*16384 pages, LSN=2720958
2021-03-29T20:10:21.732452Z 0 [Warning] InnoDB: Starting to delete and rewrite log files.
100 200
100 200
2021-03-29T20:10:32.648136Z 0 [Warning] InnoDB: New log files created, LSN=2720958




b1 - MariaDB error log ( wampmanager -> MariaDB -> Mariadb log )
-----------------------------------------------------------
- Wampserver trace report -
File created by Wampserver install
InnoDB: using atomic writes.
2021-03-30 1:40:20 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2021-03-30 1:40:20 0 [Note] InnoDB: Uses event mutexes
2021-03-30 1:40:20 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-03-30 1:40:20 0 [Note] InnoDB: Number of pools: 1
2021-03-30 1:40:20 0 [Note] InnoDB: Using SSE2 crc32 instructions
2021-03-30 1:40:20 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2021-03-30 1:40:20 0 [Note] InnoDB: Completed initialization of buffer pool
2021-03-30 1:40:21 0 [Note] InnoDB: Resizing redo log from 2*50331648 to 2*67108864 bytes; LSN=60999
2021-03-30 1:40:21 0 [Note] InnoDB: Starting to delete and rewrite log files.
2021-03-30 1:40:21 0 [Note] InnoDB: Setting log file .\ib_logfile101 size to 67108864 bytes
2021-03-30 1:40:21 0 [Note] InnoDB: Setting log file .\ib_logfile1 size to 67108864 bytes
2021-03-30 1:40:21 0 [Note] InnoDB: Renaming log file .\ib_logfile101 to .\ib_logfile0
2021-03-30 1:40:21 0 [Note] InnoDB: New log files created, LSN=60999
2021-03-30 1:40:21 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-03-30 1:40:21 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-03-30 1:40:21 0 [Note] InnoDB: Setting file '.\ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-03-30 1:40:21 0 [Note] InnoDB: File '.\ibtmp1' size is now 12 MB.
2021-03-30 1:40:21 0 [Note] InnoDB: 10.4.13 started; log sequence number 60999; transaction id 21
2021-03-30 1:40:21 0 [Note] InnoDB: Loading buffer pool(s) from c:\wamp64\bin\mariadb\mariadb10.4.13\data\ib_buffer_pool
2021-03-30 1:40:21 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-03-30 1:40:21 0 [Note] Server socket created on IP: '::'.
2021-03-30 1:40:21 0 [Note] InnoDB: Buffer pool(s) load completed at 210330 1:40:21
2021-03-30 1:40:33 0 [Note] Reading of all Master_info entries succeeded
2021-03-30 1:40:33 0 [Note] Added new Master_info '' to hash table
2021-03-30 1:40:33 0 [Note] wampmariadb64: ready for connections.
Version: '10.4.13-MariaDB' socket: '' port: 3307 mariadb.org binary distribution




c - PHP error log ( wampmanager -> PHP -> PHP error log )
-----------------------------------------------------
- Wampserver trace report -
File created by Wampserver install
[29-Mar-2021 20:10:14 UTC] ; Unable to find Apache variables.

; There may be a syntax error in httpd.conf.
; To be checked by the tool integrated in Wampserver:
; Right-click -> Tools -> Check httpd.conf syntax.


[29-Mar-2021 20:10:18 UTC] Apache variable '${INSTALL_DIR}' is not defined.
May be there is syntax error in httpd.conf
Check it by right-click Wampmanager tray icon -> Tools -> Check httpd.conf syntax.
May be Apache service 'wampapache64' is not started.
Check it by right-click Wampmanager tray icon -> Tools -> Check state of services

[29-Mar-2021 20:10:18 UTC] Apache variable '${INSTALL_DIR}' is not defined.
May be there is syntax error in httpd.conf
Check it by right-click Wampmanager tray icon -> Tools -> Check httpd.conf syntax.
May be Apache service 'wampapache64' is not started.
Check it by right-click Wampmanager tray icon -> Tools -> Check state of services



Edited 1 time(s). Last edit at 03/29/2021 11:06PM by ashleycIND.

Re: api-ms-win-crt-runtime-l1-1-0.dll is missing
Posted by: RiggsFolly (Moderator)
Date: March 30, 2021 11:04AM

Please read this

update-for-universal-c-runtime-in-windows

This is normally delivered via Windows Update, you are runing the normal windows updates are you not?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 03/30/2021 11:07AM by RiggsFolly.

Re: api-ms-win-crt-runtime-l1-1-0.dll is missing
Posted by: ashleycIND (45.64.15.---)
Date: March 30, 2021 11:02PM

Thank you very much for your guidance.

On the 29th, Windows Updates wouldn't work well (seemed to be getting stuck for ever). So i had downloaded the 8 .msu files from microsoft but when i went about installing (acc. to the order stated), i would get the msg "Not applicable for your computer". Then i found this forum and went through your Troubleshooting post. Infact, i had even downloaded [update-for-universal-c-runtime-in-windows] (KB2999226); but the same result when i tried to install it. After everything failed, Windows Updates began working and it was hours of updating after that. After each restart, i would try the sequence of uninstalling/re-installing the Ms VC++ 2015-2019 x86 n x64 Redistributables; and then the same with WAMP.

An hour ago today (31Mar, 1am here IST), after i saw your reply, i tried installing (KB2999226), and it got done like jelly smiling smiley Was so good to see that happen. I tried running WAMP; but it didnt go to Green.

I thought i'll try the earlier 8 MSU files again; but again none of them were 'applicable'.
There was one other file (besides the 8 MSU) --- windows8.1-KB4540725-x64.msu --- this one installed successfully.

On the other side, Windows Update was showing about 1700 MB worth new updates

Just before i went to do that, i thought to do the routine once more

+ Uninstalled MsVC++ 2015-2019 x64 14.28.29913
+ Uninstalled MsVC++ 2015-2019 x86 14.28.29913
+ restarted WIN
+ installed MsVC++ 2015-2019 x64 14.28.29913
+ installed MsVC++ 2015-2019 x86 14.28.29913
+ restarted WIN
+ installed WAMP
+ restarted WIN
+ ran WAMP

********** and it went GREEN! ***********

was all Hallelujahs!!! relieved & glad. Many thanks to u; God bless~

Sorry, only registered users may post in this forum.