The application was unable to start correctly 0xc0000142 error when I try to open xampp shell through control panel

3

Using the latest Xampp version with PHP 7

enter image description here

[cmd.exe]
The application was unable to start correctly (0xc000142). Click OK to
close the application

I get a message that the application cannot start when I click the shell button in XAMPP control panel.

I reinstalled XAMPP but it didn't work.
I Updated my environment tables to mysql/bin so I can globally use MYSQL. I can open the xampp_shell.bat and I will probably do that for now.

php
xampp
asked on Stack Overflow Apr 16, 2017 by Jibril • edited Dec 12, 2020 by Rika

2 Answers

6

Well, I know this will sound like a dumb solution but it works for me. Click on the shell button many times until the command prompt window opens.

answered on Stack Overflow May 5, 2017 by Martin
1

Maybe Win10 (build 1703) could be the cause.

Quick Fix: set compatibility of xamp-control file to Windows 8 and run as administrator.

answered on Stack Overflow Jul 11, 2017 by JoanR

User contributions licensed under CC BY-SA 3.0