本文介绍了在“php.exe”中发生未处理的win32异常在命令行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在命令行中使用PHP做任何事情时,命令行崩溃并抛出一个未处理的win32异常。

When I try to do anything with PHP in the command line, the command line crashes and throws an "unhandled win32 exception". However, my websites are executing PHP without errors.

当我使用Visual Studio进行调试时,程序在php.exe中断开这一行:

When I debug using Visual Studio, the program breaks at this line in php.exe:

100E890C  mov         edx,dword ptr [edx+4]

调用堆栈如下:

>php5ts.dll!100e890c()
[Frames below may be incorrect and/or missing, no symbols loaded for php5ts.dll]
msvcrt.dll!761eade8()
msvcrt.dll!761ec470()
msvcrt.dll!761ef637()
php.exe!00402e5b()
kernel32.dll!77211194()
ntdll.dll!7799b429()
ntdll.dll!7799b3fc()

我需要能够在命令行中使用PHP来安装PEAR扩展和CakePHP函数。但是,我不知道如何解决这个问题...

I need to be able to work with PHP in the command line for installing PEAR extensions and for CakePHP functions. However, I don't know how to fix this problem...

非常感谢任何关于这个问题的帮助。

Any help on this issue is greatly appreciated.

感谢。

推荐答案

将PHP升级到最新版本,然后重试。看起来像是php本身的错误。

Upgrade your PHP to the latest version and try again. Looks like a bug in php itself.

这篇关于在“php.exe”中发生未处理的win32异常在命令行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 19:21