The Apache (cac) image healthcheck was curl -f http://localhost/, which also fails on 4xx. A new standalone site with an empty docroot gets 403, so it shows unhealthy forever, and WHP's monitor restarts it as "PHP wedged" 3 times an hour (seen on the fresh-install test VM).
Now: unhealthy only on no answer (000) or a 5xx.
Tested the new command inside a running cac:php85 container on the test VM: empty docroot (403) returns 0; no listener (000) returns 1.
WHP PR #111 also stops the monitor restarting on a 4xx healthcheck, so the fleet is covered before these images roll out. Takes effect per site on its next recreate.
The Apache (cac) image healthcheck was `curl -f http://localhost/`, which also fails on 4xx. A new standalone site with an empty docroot gets 403, so it shows **unhealthy** forever, and WHP's monitor restarts it as "PHP wedged" 3 times an hour (seen on the fresh-install test VM).
Now: unhealthy only on no answer (000) or a 5xx.
Tested the new command inside a running cac:php85 container on the test VM: empty docroot (403) returns 0; no listener (000) returns 1.
WHP PR #111 also stops the monitor restarting on a 4xx healthcheck, so the fleet is covered before these images roll out. Takes effect per site on its next recreate.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
curl -f also failed on 403/404, so a new site with an empty docroot showed
unhealthy forever and WHP's monitor restarted it as PHP wedged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jknapp
merged commit e7d4db5bd3 into trunk2026-10-22 15:04:11 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The Apache (cac) image healthcheck was
curl -f http://localhost/, which also fails on 4xx. A new standalone site with an empty docroot gets 403, so it shows unhealthy forever, and WHP's monitor restarts it as "PHP wedged" 3 times an hour (seen on the fresh-install test VM).Now: unhealthy only on no answer (000) or a 5xx.
Tested the new command inside a running cac:php85 container on the test VM: empty docroot (403) returns 0; no listener (000) returns 1.
WHP PR #111 also stops the monitor restarting on a 4xx healthcheck, so the fleet is covered before these images roll out. Takes effect per site on its next recreate.
🤖 Generated with Claude Code