How to install imagick as an extension in php with AMPPS and Mac OS 10.9.4
I managed to install imagick on my Mac. I can tell that it is installed because now I can execute the "convert" command on the command line and resize the image successfully.
But I want to do imagination as an extension in PHP.
How can i do this? PHP documentation seems to be windows only
Please, help!
+3
source to share
1 answer
Open terminal:
wget https://pecl.php.net/get/imagick-3.2.0RC1.tgz
unzip / untar
A type:
cd toyourdownload / imagick-3.2.0RC1 / imagick-3.2.0RC1 (or just type cd enter a space and then drag the folder to the terminal)
/ Applications / AMPPS / PHP / bin / phpize
./Configure
to do
sudo make install
restart apache.
I tested this morning perfectly: link http://www.softaculous.com/board/index.php?tid=5246&title=switching_from_MAMP_to_AMPPS_for_redis#p19026
0
source to share