Strange, this guy says he has it working (but apparently with some
relative directory problem):

http://stackoverflow.com/questions/9954764/imagick-php-5-4-extension-doe
s-not-work-with-relative-paths-windows

We will need it to (we can't even move to 5.4 until Wincache is
updated.)

Keith Davis (214) 906-5183


-----Original Message-----
From: Jan Ehrhardt [mailto:php...@ehrhardt.nl]
Sent: Friday, May 04, 2012 4:32 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Re: Need php_imagick.dll for PHP 5.4

James in php.windows (Sat, 14 Apr 2012 10:29:17 -0700):
>I need one more extension for PHP 5.4, Imagick the non-thread safe
>version for IIS.  I tried the one from PHP 5.3, but it doesn't show up
>under phpinfo();

php_imagemagick does not compile anymore under PHP 5.4, so there is
little chance to get it working.

First offending line:

zend_hash_copy(intern->zo.properties, &class_type->default_properties,
        (copy_ctor_func_t) zval_add_ref,(void *) &tmp, sizeof(zval *));

Errors:

pecl\imagick\imagick.c(2377) : error C2039: 'default_properties' : is
not a member of '_zend_class_entry'

Zend\zend.h(462) : see declaration of '_zend_class_entry'
pecl\imagick\imagick.c(2377) : warning C4047: 'function' : 'HashTable *'
differs in levels of indirection from 'copy_ctor_func_t'

pecl\imagick\imagick.c(2377) : warning C4024: 'zend_hash_copy' :
different types for formal and actual parameter 2

pecl\imagick\imagick.c(2377) : warning C4022: 'zend_hash_copy' : pointer
mismatch for actual parameter 4

pecl\imagick\imagick.c(2377) : error C2198: 'zend_hash_copy' : too few
arguments for call

etcetera.

Jan

--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php



This message (including any attachments) may contain confidential or otherwise 
privileged information and is intended only for the individual(s) to which it 
is addressed. If you are not the named addressee you should not disseminate, 
distribute or copy this e-mail. Please notify the sender immediately by e-mail 
if you have received this e-mail by mistake and delete this e-mail from your 
system. E-mail transmission cannot be guaranteed to be secured or error-free as 
information could be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete, or contain viruses. The sender therefore does not accept liability 
for any errors or omissions in the contents of this message or that arise as a 
result of e-mail transmission. If verification is required please request a 
hard-copy version from the sender.

www.pridedallas.com


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to