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
[X] I agree to follow this project's Code of Conduct
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