You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2024. It is now read-only.
Very new to docker & wp local docker so perhaps there's an easy solution just overlooked... but both me and my counterpart are experiencing same issue.
Upon trying to upload any image files over 1mb into Media Library, we keep getting message: "The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help."
So first thing I did was edit the docker-php-ext-xdebug.ini file to:
upload_max_filesize = 32M
post_max_size = 64M
memory_limit = 256M
max_execution_time = 300
max_input_time = 300
Okay, cool, now when I view Wordpress site health media handling and server settings I see changes went into effect:
So that all looks good now, yet still get error message for anything over 1mb, whereas anything less uploads fine.
Some other things I tried unsuccessfully:
switching image post-processing default from ImageMagick to GD Library
increasing proxy_read_timeout, proxy_connect_timeout, and proxy_send_timeout
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Troubleshooting
Describe your question
Very new to docker & wp local docker so perhaps there's an easy solution just overlooked... but both me and my counterpart are experiencing same issue.
Upon trying to upload any image files over 1mb into Media Library, we keep getting message: "The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help."
So first thing I did was edit the docker-php-ext-xdebug.ini file to:
upload_max_filesize = 32M
post_max_size = 64M
memory_limit = 256M
max_execution_time = 300
max_input_time = 300
Okay, cool, now when I view Wordpress site health media handling and server settings I see changes went into effect:
So that all looks good now, yet still get error message for anything over 1mb, whereas anything less uploads fine.
Some other things I tried unsuccessfully:
Code of Conduct
The text was updated successfully, but these errors were encountered: