I'm trying to set up an AWS LAMP environment for WordPress. Everything on the AWS side is working. EC2, S3, EFS, RDS, Cloudflare, the whole package. The site loads and is blazingly fast... however both WP Core, theme, and plugin updates fail silently. No error messages printed to the screen, nothing helpful printed to console, nothing tracked in error logs.
If I try to update plugins/themes in very small batches, like 1 at a time, the process sometimes works. Most of the time it just hangs for about a minute and then stops. Anything too big always fails.
Core updates always fail. It gets to "Unpacking the update…" and stops there. All in all it will try for maybe 60 seconds before the page simply stops loading despite max_execution_time
being set to 300
.
I've increased every php value I can think of that may help:
max_execution_time
=300
memory_limit
=1G
post_max_size
=25M
max_input_vars
=1000
I've checked, rechecked, and loosened permissions to webroot. Everything is good on this front.
I've run the WP Health Check and everything comes up hunky dory. No problems reported here other than a nag to move from PHP 7.0 to 7.2.
I've done a fresh install, DB and files, multiple times.
I've tried multiple versions of WP to rule out a 5.* issue.
I'm running 2019 theme with only basic plugins for testing.
Debugging is enabled, but again, nothing prints to the log.
I'm not new to WP but am new to AWS and I'm stuck and looking for ideas. What could I be missing? Something obscure on the AWS side that's preventing WP from communicating or executing long running scripts?
Many thanks in advance.