Keywords: WordPress - AWS - Technical issue - Other
bnsupport ID: bc7c08ab-1a3f-de7e-f527-eee6589599fc
I have a lightsail instance running bitnami wordpress.
I need to upload big files to the CMS.
so I changed
/opt/bitnami/php/etc/php.ini to allow posts as big as 200MB uploads
post_max_size = 200M
upload_max_filesize = 200M
; increased the memory just in case it's needed
memory_limit = 256M
the problem is that when uploading a big file, the request always fails (408 Request Timeout)
https://xxxx/wp-admin/async-upload.php -> 408
The interesting part is that it always fails after 20 seconds.
The apache error logs (
/opt/bitnami/apache2/logs/error_log) shows the following
[proxy_fcgi:error] [pid 23211:tid 139741349488384] (70007)The timeout specified has expired: [client 188.8.131.52:61132] AH01075: Error dispatching request to : (reading input brigade), referer: https://XXXX/wp-admin/media-new.php
[proxy_fcgi:error] [pid 31121:tid 140523029833472] (70007)The timeout specified has expired: [client 184.108.40.206:53685] AH01075: Error dispatching request to : (reading input brigade), referer: https://XXXX/wp-admin/upload.php
I've tried to find where this timeout defined or can be configured but didn't manage to.
Is it possible to configure the
async-upload timeout to be 60 seconds (or more)?