MagickWand for PHP is an object-oriented PHP interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning MagickWand for PHP.
-
Floezen
- Posts: 5
- Joined: 2013-09-16T11:47:51-07:00
- Authentication code: 6789
Post
by Floezen » 2016-01-13T14:41:08-07:00
Hi,
I tried to compile MagickWand for PHP (MagickWandForPHP-1.0.9) on PHP 7.0.1 but "make" unfortunately fails with following error:
Code: Select all
In file included from /home/floezen/magickwand/MagickWandForPHP-1.0.9/magickwand.c:9:0:
/home/floezen/magickwand/MagickWandForPHP-1.0.9/magickwand_inc.h:19:40: fatal error: ext/standard/php_smart_str.h: No such file or directory
#include "ext/standard/php_smart_str.h"
^
compilation terminated.
make: *** [magickwand.lo] Fehler 1
php_smart_str.h only exists in my PHP 5.6 installation, but not in the PHP 7 installation. How do I get it? Or is there a other solution?
Thanks & regards
Flözen
-
magick
- Site Admin
- Posts: 11100
- Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2016-01-14T04:22:47-07:00
Only PHP 5 is supported now. We'll look into supporting PHP 7 when we get a chance.
-
Floezen
- Posts: 5
- Joined: 2013-09-16T11:47:51-07:00
- Authentication code: 6789
Post
by Floezen » 2016-01-14T04:52:10-07:00
So, would you say MagickWand for PHP ist dead?! Viewing the number of posts within the last year, it seams like there in not much interest in it.
Would you suggest to switch to imagick or anything else to use with PHP 7?!
-
magick
- Site Admin
- Posts: 11100
- Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2016-01-14T06:44:11-07:00
MagickWand is supported and will continue to be supported. There appears to be a more active community around IMagick. That may be the best path forward. You could of course just call the 'convert' program form PHP.
-
fmw42
- Posts: 25764
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Post
by fmw42 » 2016-01-14T10:15:01-07:00
Imagick has not been well supported in the past and is missing many of the new features of command line IM. But someone is now working to improve it. However, I do not know when it will be done. I would suggest you use PHP exec() to run command lines, at least for the time being.
-
visitor x
- Posts: 16
- Joined: 2013-07-27T13:26:38-07:00
- Authentication code: 6789
Post
by visitor x » 2016-02-29T13:44:36-07:00
im in big need of this too for php7 i hope it will be supported
-
spiderr
- Posts: 4
- Joined: 2015-06-12T13:19:21-07:00
- Authentication code: 6789
Post
by spiderr » 2017-08-29T06:39:25-07:00
Are there any plans/updates for MagickWand for PHP 7?
-
magick
- Site Admin
- Posts: 11100
- Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2017-08-29T06:46:07-07:00
Yes there are plans but we do not have an ETA on porting MagickWand for PHP 7 yet. As always, an ImageMagick user can contribute patches for the port. The ImageMagick developers are way too busy right now to work on it.
-
spiderr
- Posts: 4
- Joined: 2015-06-12T13:19:21-07:00
- Authentication code: 6789
Post
by spiderr » 2017-08-29T12:04:04-07:00
-
magick
- Site Admin
- Posts: 11100
- Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2017-08-30T13:11:16-07:00
That looks right. Have fun and thanks for contributing to the ImageMagick community.