我得到这个错误:imagick崩溃与PHP 5.3
The connection to the server was reset while the page was loading.
,当我尝试使用ImageMagick加载图像这只发生。
<?php
header('Content-type: text/html');
$image = 'some_image.jpg';
/*** a new imagick object ***/
$im = new Imagick();
/*** ping the image ***/
$im->pingImage($image);
/*** read the image into the object ***/
$im->readImage($image);
/**** convert to png ***/
$im->setImageFormat("png");
/*** write image to disk ***/
$im->writeImage('/tmp/new.png');
echo 'Image Converted';
?>
vertrigo serv
php 5.3.8
php_imagick_ts.dll
显然,同样的问题在这里: http://valokuva.org/?page_id=50
我能得到它加载的phpinfo显示imagick信息,而是试图读取图像的Apache崩溃时。
有关这个问题的任何想法?
无关紧要,在这里。 – Daniel 2011-12-22 18:52:07
做你的日志碰巧给出任何线索? – jprofitt 2011-12-22 18:54:24
Imagick是在32/64 Windows上工作的一种痛苦。 5.3+几乎不可能工作。 Imagick正是我为什么从Windows切换开发的原因。这和只在Windows中发生的一个荒谬的日期时间错误。 – Layke 2011-12-22 19:03:30