Allowed memory size of xxx bytes exhausted with WordPress on Debian

My Debian Squeeze host started having trouble performing WordPress 3.5 core or plugin updates – in the error logs, I’d see messages like:


This is a companion discussion topic for the original entry at https://www.funkypenguin.co.nz/note/allowed-memory-size-of-xxx-bytes-exhausted-with-wordpress-on-debian/