如何在Mountain Lion上安装Image Magick for MAMP(Pro)(10.8.2) [英] How to install Image Magick for MAMP (Pro) on Mountain Lion (10.8.2)

查看:112
本文介绍了如何在Mountain Lion上安装Image Magick for MAMP(Pro)(10.8.2)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找一种在我的Mountain Lion设置(我使用MAMP Pro)上安装Image Magick的方法。我找到这篇文章,但它并不特定于ML。在这里也发现了其他几个类似的问题,但我认为它们太具体了。在这种事情上我并不擅长,这无济于事。任何人都可以给我一个很好的资源吗?

I've been searching for a way to install Image Magick on my Mountain Lion setup (where I use MAMP Pro). I did find this article, but it isn't specific to ML. Also found a couple other similar questions here on SO but they were too specific I think. Doesn't help that I'm not great at this sort of thing. Can anyone point me to a good resource?

推荐答案

如果你是的话,请务必查看Joel Farris的回答使用最新版本的MAMP

我终于设法正确安装了它自制软件及其中的说明: http://egoco.de/发布/ 23167969231 / installed-imagemagick-for-php-and-mamp

I finally managed to get it installed properly using Homebrew and the instructions here: http://egoco.de/post/23167969231/installing-imagemagick-for-php-and-mamp

我确实需要运行brew doctor和brew链接几次来修复依赖项(并更改一个或两个文件的权限),并使用

I did have to run brew doctor and brew link a couple of times to fix dependencies (and change permissions on a file or two), and use

brew install php54-imagick

而不是网址上提到的那个。

rather than the one mentioned at the url.

他提到的扩展名最后(您必须粘贴在不同的ini文件中的位)是:

The extension he mentions at the end (the bit you have to paste in your different ini files) is:

[imagick]
extension="/usr/local/Cellar/php54-imagick/3.1.0RC2/imagick.so"

希望它有所帮助!

这篇关于如何在Mountain Lion上安装Image Magick for MAMP(Pro)(10.8.2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆