I'm using XAMPP version 5.6.3-0 on Mac OS X 10.10.3 Yosemite and I want to install the Gmagick (https://pecl.php.net/package/gmagick) extension which is the PHP API of graphicsmagic. (http://www.graphicsmagick.org)
So I downloaded gmagick and compiled it for php:
$ cd gmagick-1.1.7RC2
$ phpize
$ ./configure --with-php-config=/Applications/XAMPP/xamppfiles/bin/php-config-5.6.3
$ make
# sudo make install
Then I added this to the php.ini:
extension=gmagick.so
But the extension is not active. Any suggestions?