I have managed to install imagick (for image handling purposes) in my uwamp and php 5.6 environment by changing the php.ini file and copying some files.
However when I want to do the same in the scriptcase 8.1 environment it does not work
I changed the php.ini and php.ini-development in C:\Program Files (x86)\NetMake\v81\components\php like this
extension_dir=“C:\Program Files (x86)\NetMake\v81\components\php\ext”
extension=php_imagick.dll
and copy some and the same files I used before to apache/bin and file imagick.dll in php/ext and run phpinfo in the scriptcase environment.
Is shows that the php_imagick.dll is not installed.
Are these the right php.ini files or is it not possible or do I need to do different things to activate in the scriptcase environment.
Just found out that php.ini is the right one.
https://herbmiller.me/2016/06/16/ins…imagick-php-7/ has some installation information but could not solve it yet.
Just to know is the scriptcasenvironment not blocking anything ?
Just to inform it is not a problem with scriptcase !
It is all about the right version of the wrapper imagick to the package imageimagick for the right version of php in this case 5.6 which is the problem.
not solved yet but getting close.
OK: Solved
Using ImageMagick-6.9.3-7-vc14-x86 and wrapper php_imagick.dll for exact the same version it works.
You can do think like this with it:
$images = array(“x.jpg”, “y”.jpg");
$pdf = new Imagick($images);
$pdf->setImageFormat(‘pdf’);
$pdf->writeImages(‘combined.pdf’, true);