Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

php

xampp

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.

like image 360
Jibril Avatar asked Nov 29 '25 06:11

Jibril


2 Answers

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.

like image 166
Martin Avatar answered Nov 30 '25 18:11

Martin


Maybe Win10 (build 1703) could be the cause.

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

like image 31
JoanR Avatar answered Nov 30 '25 20:11

JoanR