The CLI keeps crashing when I use it

When I enter php -v in the command line on Windows 8.1 a window appears saying “CLI has stopped working. A problem caused the program to stop working correctly. Windows will close the problem and notify you if a solution is available.”

I get this problem on wampserver and mamp for windows, so it does not matter which localhost software I use. Also I’ve installed all Windows Updates. It happens on php 5.6.25 and php 7.0.10

php error log is blank

I’m getting this error in Event Viewer.


Faulting application name: php.exe, version: 5.6.25.0, time stamp: 0x57b60174
Faulting module name: ntdll.dll, version: 6.3.9600.18438, time stamp: 0x57ae642e
Exception code: 0xc0000005
Fault offset: 0x0000000000030c57
Faulting process ID: 0x2e70
Faulting application start time: 0x01d2aa27475e178b
Faulting application path: C:\wamp\bin\php\php5.6.25\php.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: 870dbe02-161a-11e7-8263-38b1dbf6d8ea
Faulting package full name:
Faulting package-relative application ID:

Faulting application name: php-win.exe, version: 5.6.25.0, time stamp: 0x57b60195
Faulting module name: ntdll.dll, version: 6.3.9600.18438, time stamp: 0x57ae642e
Exception code: 0xc0000005
Fault offset: 0x0000000000030c57
Faulting process ID: 0x2f1c
Faulting application start time: 0x01d2aa0cab8c6362
Faulting application path: c:\wamp\bin\php\php5.6.25\php-win.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: f3184580-15ff-11e7-8263-38b1dbf6d8ea
Faulting package full name:

Because of this I cannot install Composer so I cannot get any coding done.

Can anyone help to fix this issue?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.