imagick constructor fail

From: Date: Mon, 12 Sep 2011 13:32:43 +0000
Subject: imagick constructor fail
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8525@lists.php.net to get a copy of this message
Hi, It stops running the following code at line with imagick constructor: <?php error_reporting( E_ALL ); ini_set( "display_errors", 1 ); $path = "sample.png"; $imagick = new Imagick(); //it stops here $imagick->readImageBlob(file_get_contents($path)); $imagick->setImageFormat('png'); $fw = fopen( "result.png", "wb" ); if ( $fw ) { $imagick->writeImageFile( $fw ); fclose( $fw ); } $imagick->clear(); $imagick = null; ?> There is no any error messages and exceptions. Apache returns 200 response code. I tried to restart Apache. The first execution of script was fine. After that (all the next times) I have the same issue. Another interesting thing: The script works fine in CLI every time. I run at: FreeBSD 8.2-RELEASE apache-2.2.19 pecl-imagick-3.1.0RC1 (Before that I tried pecl-imagick-3.0.1 from ports with the same result) ImageMagick-nox11-6.7.1.10 php52-5.2.17_1 Hope anyone can help me out here Andrey Ilyin

« previous php.pecl.dev (#8525) next »