Page 1 of 1

Apache not work y show error in php

PostPosted: 19. May 2021 19:02
by edg221
Hello .
After 2 years working correctly, Apache stopped starting in my installation of Xampp Control panel 3.2.4.
When starting apache manually, error: Apache Shutdown unexpectedly.
In windows event viewer it says:
Cannot find the description of the id. Event 4 in PHP-7.4.16 source. The component that causes this event is not installed on the local computer, or the installation is corrupted. You can install or repair the component on the local computer.

The following information was included with the event:
php [8460]
PHP Warning: 'vcruntime140.dll' 14.0 is not compatible with this PHP build linked with 14.16 (d: \ xampp \ apache \ bin \ httpd.exe)

How could I solve it?
Thanks.

Re: Apache not work y show error in php

PostPosted: 19. May 2021 20:37
by Altrea
Hi,

You need to install the "Visual Studio 2015, 2017 and 2019" runtime (x64: vc_redist.x64.exe)
https://support.microsoft.com/en-us/hel ... -downloads

Re: Apache not work y show error in php

PostPosted: 19. May 2021 22:26
by edg221
Ohhhh GREAT!!!!! GREAT!!! Now Work OK... :lol: :lol:
Thank you!

Re: Apache not work y show error in php

PostPosted: 19. May 2021 23:10
by Altrea
You are welcome 8)

Re: Apache not work y show error in php

PostPosted: 21. May 2021 15:32
by edg221
Hello.
After successfully starting Apache Server and mySql manually, I tried to start as "services" so that they start up with windows.
I manually stop Apache and mySql, I set both services correctly, but when trying to start Apache it does ok, but mySql does not start.

11:22:57 [mysql] Error: MySQL shutdown unexpectedly.
11:22:57 [mysql] This may be due to a blocked port, missing dependencies,
11:22:57 [mysql] improper privileges, a crash, or a shutdown by another method.
11:22:57 [mysql] Press the Logs button to view error logs and check
11:22:57 [mysql] the Windows Event Viewer for more clues

and the event viewer shows only: "Aborting"

You would be so kind as to indicate the steps to follow. Thanks.

** Translate service Spanish to English. **

Re: Apache not work y show error in php

PostPosted: 21. May 2021 15:34
by edg221
Clarification:
MySql I use it normally by starting it manually.