Using the latest Xampp version with PHP 7
[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.
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.
Maybe Win10 (build 1703) could be the cause.
Quick Fix: set compatibility of xamp-control file to Windows 8 and run as administrator.
User contributions licensed under CC BY-SA 3.0