<p>I found the answer: in the main window of MAMP Pro there's a sidebar with a sub heading Languages > PHP. When you click that and check the option under Extensions: Imagick / ImageMagick, all my problems disappear and I can upload JPG and PNG.</p>

CC BY-SA 3.0
2018-03-05T13:09:43.337Z
Haha. Unreal that is was this easy! Thanks a lot my man.
Dan Zuzevich
CC BY-SA 3.0
2017-08-15T13:23:12.257Z
2017-08-15T13:23:12.257Z
Martijn La Feber
<p>I use MAMP Pro for a few years in combination with Craft CMS, but since the new upgrade to version 4 I cannot upload JPGs anymore. Dit anybody had the same issue and how to fix this?</p>

<p>In the PHP7.0.20.ini there's a line says:</p>

<pre><code>MAMP_Imagick_MAMPextension=imagick.so
</code></pre>

<p>And these are the settings for resource limits:</p>

<pre><code>max_execution_time = 240
max_input_time = 240
memory_limit = 1024M 
upload_max_filesize = 32M
</code></pre>

<p>But it's different from earlier versions, so it looks like ImageMagick is loaded?</p>

<p>Thanks in advance.</p>

<p>Cheers, Martijn</p>

CC BY-SA 3.0
2017-08-15T09:21:18.427Z
Is there anything showing in the Craft logs under Storage > Runtime?
Image upload problems wouldn't be related to GD or Imagick specifically as they aren't responsible for the upload, it's more likely a permissions problem. I have a number of different environments, MAMP being one of them and have uploads working correctly.
Chris Southam
CC BY-SA 3.0
2017-08-15T13:02:29.227Z
No, when I try to upload a JPG the progress bar fills up and freezes. Nothing appear in the log. And PNG files can be uploaded right away.
Martijn La Feber
CC BY-SA 3.0
2017-08-15T13:13:33.730Z
When I check the logs in MAMP I see this error in the appache_error.log: 

    [Tue Aug 15 15:00:56 2017] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.0.20.fcgi", referer: http://craftcmsdeluxe.dev/admin/assets
Martijn La Feber
<assets><mamp>
Problem uploading JPG in MAMP Pro 4.2 (9213)
# Problem uploading JPG in MAMP Pro 4.2 (9213)

(Asked by: username_0 on 2017-08-15)

I use MAMP Pro for a few years in combination with Craft CMS, but since the new upgrade to version 4 I cannot upload JPGs anymore. Dit anybody had the same issue and how to fix this?
In the PHP7.0.20.ini there's a line says:
MAMP_Imagick_MAMPextension=imagick.so

And these are the settings for resource limits:
max_execution_time = 240
max_input_time = 240
memory_limit = 1024M 
upload_max_filesize = 32M

But it's different from earlier versions, so it looks like ImageMagick is loaded?
Thanks in advance.
Cheers, Martijn

**Tags:** assets, mamp

> **Comments:**
> **username_1**: Is there anything showing in the Craft logs under Storage > Runtime? Image upload problems wouldn't be related to GD or Imagick specifically as they aren't responsible for the upload, it's more likely a permissions problem. I have a number of different environments, MAMP being one of them and have uploads working correctly.  
> **username_0**: No, when I try to upload a JPG the progress bar fills up and freezes. Nothing appear in the log. And PNG files can be uploaded right away.  
> **username_0**: When I check the logs in MAMP I see this error in the appache_error.log:       [Tue Aug 15 15:00:56 2017] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php7.0.20.fcgi", referer: http://craftcmsdeluxe.dev/admin/assets  

---

## 1 answers

### Answer by username_0 on 2017-08-15. Score: 5

I found the answer: in the main window of MAMP Pro there's a sidebar with a sub heading Languages > PHP. When you click that and check the option under Extensions: Imagick / ImageMagick, all my problems disappear and I can upload JPG and PNG.

> **Comments:**
> **username_2**: Haha. Unreal that is was this easy! Thanks a lot my man.  

---

