Hi everybody,
I'm using MAMP 7.2 with PHP8.3.14 for testing purposes on a Mac with Sequioa 15.6.1. WordPress 6.2.2 tells me that iMagick extension from php is missing and reported this as an error. I tried to install it with homebrew, but there was no effect. On Youtube I find nothing about this problem.
Can anybody help?
Thanks in advance
Ralph
How do I install imagick php extension in MAMP?
-
WrongSizeGlass
- Posts: 10
- Joined: Wed Jul 10, 2024 1:30 pm
Re: How do I install imagick php extension in MAMP?
Hey Ralph,
My only experience with MAMP is MAMP Pro, so if anything I say is off it's probably because of the differences between Free and Pro. If so, I apologize.
I'm not sure about the 7.x Free version user interface, but in 6.x Pro enabling imagack is done via the PHP section.
First, make sure that the imagick.so file is in your MAMP/PHP version's extensions directory. Note that I don't have 8.3.14 on my system so I don't know the date in the "no-debug-non-zts" directory name mentioned below.
I hope this helps (or at least points you in the right direction).
WSG
My only experience with MAMP is MAMP Pro, so if anything I say is off it's probably because of the differences between Free and Pro. If so, I apologize.
I'm not sure about the 7.x Free version user interface, but in 6.x Pro enabling imagack is done via the PHP section.
First, make sure that the imagick.so file is in your MAMP/PHP version's extensions directory. Note that I don't have 8.3.14 on my system so I don't know the date in the "no-debug-non-zts" directory name mentioned below.
- Applications/MAMP/bin/php/php8.3.14/lib/php/extensions/no-debug-non-zts-YYYYMMDD/imagick.so
- File>Open Template>PHP>8.3.14
- In the file, search for "MAMP_Imagick_MAMPextension=imagick.so"
- Remove the "MAMP_Imagick_MAMP"
- Save the file
- Restart the MAMP servers
I hope this helps (or at least points you in the right direction).
WSG