I was trying to install imagemagick on the mac, I opened the terminal and executed the following command
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)".
Then I checked
brew install imagemagick
brew install php56-imagick
But when I open php info nothing appears about it
I also tried the terminal
php -m
But it also does not appear and I restarted apache
Location of installation: /Applications/XAMPP/xamppfiles
Using:
- PHP Version 5.6.30
- Mac OSX The captain
When you try this:
cd /Applications/XAMPP/xamppfiles/bin
chmod -R 0777 /tmp
./pecl install imagick
WARNING: configuration download directory "/ tmp / pear / install" is not writeable. Change download_dir config variable to a writeable dir to avoid this warning WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading imagick-3.4.3.tgz ... Starting to download imagick-3.4.3.tgz (245,410 bytes) .................................................. .done: 245,410 bytes ERROR: failed to mkdir / tmp / pear / install / imagick.