ImageMagick 6.9.6-2; MAMP PRO. One-click activation of PHP extensions; Nginx hosts do now accept custom statements in the location directive. Added the ability to use a certificate chain file for Apache SSL hosts; Added an option to only accept TLS connections for SSL hosts (with configuration recommended by Mozilla.org). Installing ImageMagick on Mac OSX for PHP and MAMP - gist:9793176. Bitnami MAMP Stack provides a complete, fully-integrated and ready to run MAMP development environment. In addition to PHP, MySQL and Apache, it includes FastCGI, OpenSSL, phpMyAdmin, ModSecurity, SQLite, ImageMagick, xDebug, Xcache, OpenLDAP, ModSecurity, Memcache, OAuth, PEAR, PECL, APC, GD, cURL and other components and the following frameworks: Zend Framework.
- Apr 07, 2021 Alternatively, if you have an Apple computer, you can use MAMP, which is the equivalent to XAMPP. MAMP currently includes the ability to run the Apache web server and a MySQL database. It is available for both Windows and Mac, but is generally used on Mac instead of Windows. It is currently running the latest versions of php and MySQL.
- Here is an example on how to take an image that is already in a string (say, from a database), and resize it, add a border, and print it out. I use this for showing reseller logos.
Many web designers and front-end developers use MAMP due to its ease of use. However, MAMP unfortunately doesn’t come pre-installed with the very popular and wide spread image manipulation library ImageMagick. My fellow internet super talent Mario Lončarić recently clarified the steps for installing the ImageMagick library to your Mac installed with MAMP.
Mamp Pro Imagemagick
This article is probably not one for the Terminal savvy programmers, but rather for the rest of us using drag and drop web server packages such as MAMP.
Prior to getting started, I’m assuming you already have MAMP installed on your local computer, most likely in /Applications/MAMP
. If not, install it before you move on to the next step.
First, download ImageMagick for Mac OS X and unarchive it to /Applications/MAMP/bin/ImageMagick
.
Next, open up Terminal.app (don’t be afraid, it won’t bite you), and enter line by line:
Test if everything works up to this point:
Last: browse to /Applications/MAMP/Library/bin
and open envvars
file with your text editor. Change the two uncommented lines, i.e. DYLD_LIBRARY_PATH='...
and export...
to:
If you are using ImageMagick in your server-side application, be sure to set the correct path. For instance in PHP:
Restart Apache in MAMP and you’re done.
Mamp Imagemagick Vs
Addenum
Some users have reported that the correct DYLD_LIBRARY_PATH
for their particular setup was:
Update for Mac OS X Yosemite users
If you had problems with starting Apache after updating to Yosemite, one of the proposed fixes was to rename envvars
file to _envvars
or to comment out lines containing DYLD_LIBRARY_PATH
. That works if you don’t need to use ImageMagick, but DYLD_LIBRARY_PATH
is required for it to function properly.
Mamp Imagemagick Server
The solution is to rename DYLD_LIBRARY_PATH
to DYLD_FALLBACK_LIBRARY_PATH
in the envvars
file.
Mamp Imagemagick Pro
Marko Dugonjić is a designer specialized in user experience design, web typography and web standards. He runs a nanoscale user interface studio Creative Nights and organizes FFWD.PRO, a micro-conference and workshops for web professionals.