Hi Daniel,

>tag 366428 + unreproducible
>thanks
>  
>

This problem is reproductible only with PHP 5 and imagemagick >6
when trying to build imagick PECL.

>On Mon, May 08, 2006 at 05:45:22PM +0200, Infomaniak Network SA / Guy 
>Baconniere wrote:
>  
>
>>I have compiled PECL http://pecl.php.net/package/imagick
>>for PHP but when I do phpinfo() imagick.so crash the PHP.
>>    
>>
>
>I cannot reproduce the crashes with the php4-imagick package in Sarge.
>What's your reason to compile from source? Did you add
>"-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" to CFLAGS?
>  
>

Because I want PHP5 on Sarge with some custom modules and path
but I want to use all external libs like imagemagick from Sarge.

I use "pecl upgrade --onlyreqdeps --force pecl/imagick" from PHP5
who download imagick uncompress it and phpize.. make .. wrapper..

>>I suggest to add to the compile options "--enable-embeddable"
>>on the standard libmagick package to solve this issue.
>>    
>>
>
>Functionality of this (experimental) switch should not be required for
>php-imagick. The fact that it fixes the crash seems to be more of a
>coincidence, probably due to the changed memory allocator. It's not
>clear to me whether this is a bug in imagemagick, after all.
>  
>

I known this fonction is experimental but needed in order to compile
imagick with PHP5. So if you decide to compile next version of imagemagick
for Sarge with --enable-embeddable I can use it to compile PHP5
with imagick (external PECL). For now, I compile my own version
of ImageMagick, PHP5 and imagick.

I am not alone having this issue..

http://pecl.php.net/bugs/bug.php?id=6488
http://pecl.php.net/bugs/bug.php?id=6535
http://weblog.slower.net/archives/35
http://wiki.hidden.ch/index.php/PHP#Crash_von_ImageMagick_.28imagick.so.29

Best Regards,
Guy Baconnière


--

Infomaniak Network SA
Guy Baconniere <[EMAIL PROTECTED]>
Unix System Administrator
Certified Linux Engineer (RHCE, LPIC-2)
Avenue de la Praille 26
1227 Carouge (Geneva)
Switzerland (CH)
Phone +41 (0)22 820 3541
Fax +41 (0)22 820 3546
AS29222 / BACO-RIPE


Reply via email to