{"id":1565,"date":"2022-08-30T15:17:35","date_gmt":"2022-08-30T15:17:35","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/27\/an-unhandled-win32-exception-occurred-in-httpd-exe-in-php-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:17:35","modified_gmt":"2022-08-30T15:17:35","slug":"an-unhandled-win32-exception-occurred-in-httpd-exe-in-php-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/an-unhandled-win32-exception-occurred-in-httpd-exe-in-php-collection-of-common-programming-errors\/","title":{"rendered":"an unhandled win32 exception occurred in httpd.exe in php-Collection of common programming errors"},"content":{"rendered":"<p>I have a hard time to install imagemagick for PHP.<\/p>\n<p>I used <code>ImageMagick-6.7.7-8-Q16-windows-dll.exe<\/code> and added <code>php_imagick.dll<\/code> into my php <code>ext<\/code> folder and <code>phpinfo<\/code> is showing php_imagick extention.<\/p>\n<p>I am on Windows XP using Wamp Server 2.1, PHP 5.3.5, Apache 2.2.17, Mysql 5.5.8<\/p>\n<p>When I run the following code it is resulting in an unhandled win32 exception occurred in <code>httpd.exe<\/code>:<\/p>\n<pre><code>try\n{\n    $image = 'exists.jpg';\n\n    \/*** a new imagick object ***\/\n    $im = new Imagick($image);\n\n    echo 'Imagick';\n}\ncatch(Exception $e) \n{\n    echo $e-&gt;getMessage();\n}\n<\/code><\/pre>\n<p>Help me in achieving this problem.<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-27 11:52:03. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>I have a hard time to install imagemagick for PHP. I used ImageMagick-6.7.7-8-Q16-windows-dll.exe and added php_imagick.dll into my php ext folder and phpinfo is showing php_imagick extention. I am on Windows XP using Wamp Server 2.1, PHP 5.3.5, Apache 2.2.17, Mysql 5.5.8 When I run the following code it is resulting in an unhandled win32 [&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-1565","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1565","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=1565"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1565\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}