Files
hortusfox-web-nixos/nixos-module
awkawbandClaude Sonnet 5 3b478f1403 Raise phpfpm upload_max_filesize/post_max_size to match the proxy configs
Both nginx (client_max_body_size) and caddy (request_body.max_size) are
already configured for 64M uploads, but PHP's own stock defaults
(upload_max_filesize=2M, post_max_size=8M) were never raised to match --
so PHP itself truncated/rejected any plant photo upload past 2M (any
modern phone camera JPEG) before PlantsModel::editPlantPhoto ever saw
it, surfacing as a bare "Errorneous file" 500 with no indication it was
ever a size limit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-08 13:38:08 -04:00
..