Page 1 of 1 file having wrong structure in mac OS High Sierra

Posted: 2019-06-06T01:52:55-07:00
by mustmuna

I am trying to install and use imagick php extention in localhost to use Adobe Stock API(SDK) and AMPPS
And I am hitting a brick wall.

After many pitfalls I finally managed to install it.
and the file is having the wrong structure.

I tried this on two computes. I read that it can be connected to 64 bit versus 32 bit issue.
But this one should be equal to 64 bit
Mac os High Sierra
2,4 GHz Intel Core i5

file Mach-O 64-bit bundle x86_64

This command said that Error: homebrew/php was deprecated. This tap is now empty as all its formulae were migrated.
brew install homebrew/php/php71-imagick

so I installed with pear using pecl
pecl install imagick

The .so file is copied here
and it created it here

What to do now? I am at the end of my wits