{"id":1609,"date":"2022-08-30T15:17:57","date_gmt":"2022-08-30T15:17:57","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/27\/unhandled-win32-exception-occurred-in-php-exe-in-command-line-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:17:57","modified_gmt":"2022-08-30T15:17:57","slug":"unhandled-win32-exception-occurred-in-php-exe-in-command-line-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/unhandled-win32-exception-occurred-in-php-exe-in-command-line-collection-of-common-programming-errors\/","title":{"rendered":"Unhandled win32 exception occurred in &ldquo;php.exe&rdquo; in command line-Collection of common programming errors"},"content":{"rendered":"<p>When I try to do anything with PHP in the command line, the command line crashes and throws an &#8220;unhandled win32 exception&#8221;. However, my websites are executing PHP without errors.<\/p>\n<p>When I debug using Visual Studio, the program breaks at this line in php.exe:<\/p>\n<pre><code>100E890C  mov         edx,dword ptr [edx+4]  \n<\/code><\/pre>\n<p>And the call stack is as follows:<\/p>\n<pre><code>&gt;php5ts.dll!100e890c()  \n[Frames below may be incorrect and\/or missing, no symbols loaded for php5ts.dll]    \nmsvcrt.dll!761eade8()   \nmsvcrt.dll!761ec470()   \nmsvcrt.dll!761ef637()   \nphp.exe!00402e5b()  \nkernel32.dll!77211194()     \nntdll.dll!7799b429()    \nntdll.dll!7799b3fc()    \n<\/code><\/pre>\n<p>I need to be able to work with PHP in the command line for installing PEAR extensions and for CakePHP functions. However, I don&#8217;t know how to fix this problem&#8230;<\/p>\n<p>Any help on this issue is greatly appreciated.<\/p>\n<p>Thanks.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-27 12:01:41. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>When I try to do anything with PHP in the command line, the command line crashes and throws an &#8220;unhandled win32 exception&#8221;. However, my websites are executing PHP without errors. When I debug using Visual Studio, the program breaks at this line in php.exe: 100E890C mov edx,dword ptr [edx+4] And the call stack is as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1609","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1609"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1609\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}