Forum Moderators: coopster

Message Too Old, No Replies

magickwand windows extensions

magickwand

         

vurentjie

1:11 pm on May 16, 2008 (gmt 0)

10+ Year Member



Hi,

I am trying to get the magickwand for php extension running on my localhost,
I am running on windows and have installed the ImageMagick package,
I have also copied the MagickWand extension library to php/ext/magickwand.

I think the above is the correct way to go about it?

now I am trying to figure out what extensions I need to add in my php.ini file.
From what I have read,on windows you don't run phpize, instead you just include the relevant extensions.
However I am not quite sure what to add here,

have added this so far:
extension=php_imagick.dll

but when I run the demo script I get error call to undefined function NewMagickWand(); which means that it hasn't been linked correcty I suppose.

I am running php5.2 within a wamp5 installation.

any help much appreciated.

cameraman

3:25 pm on May 16, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Move the dll from php/ext/magickwand to php/ext and restart your server.

vurentjie

7:46 pm on May 16, 2008 (gmt 0)

10+ Year Member



thanks,
but this has not helped, i did move it earlier today,
so far, ImageMagick it is up and running and I can also see relevant info in my phpinfo page, but for some reason i can't get magickwand to link,

so far i have
installed imagemagick
copied php_magickwand_Q16_st.dll to php/ext

and have linked in my ini file with

extension=php_imagick.dll
extension=php_magickwand_Q16_st.dll

i have restarted my server on each change,

not quite sure whether both libraries should be included here,
whether i need to add anything in my environment paths for magickwand?
whether i am indeed using the correct .dll for windows xp and magickwand?
or much else...brickwall at the moment.

anyhow still get a call to undefined function when i try to call any magickwand functions in php,

will tackle it again after the weekend.