In Apache 2.4.66-1 Debian/Ubuntu maintainers decided to harden systemd service for Apache 2.4. The change removed file writing rights from Apache. It affects dav_svn, PHP, CGI etc. This hardening happened in the background, as a side note. It is mentioned as part of "unstable", but applies to Ubuntu 26.04 LTS stable, for example. This breaking change is logged in Debian Changelog and Ubuntu Changelog.

Harden systemd services. Set ProtectSystem=full
    ProtectHome=read-only, RestrictSUIDSGID=yes.
    This may break read-write CGI script to /home and
    WebDaV or other CGI/php/lua uses.

This can cause all kinds of throuble. For example the mod dav_svn keeps giving following errors:

Could not MERGE resource "[REDACTED]" into "[REDACTED]". [500, #0]
An error occurred while committing the transaction. [500, #1]
Can't set permissions on '/var/www/svn/[REDACTED]/db/revs/67' [500, #1]
Can't set permissions on '/var/www/svn/[REDACTED]/db/revs/67': Operation not permitted [500, #1]
Could not fetch resource information. [404, #0]
Named transaction doesn't exist. [404, #175002]

 To get back to normal behavour you need to set these variable back to their usual default:

sudo systemctl edit apache2

Add following lines (choose one of the values that works for you):

[Service]
RestrictSUIDSGID=no|yes
ProtectSystem=no|yes|full|strict
ProtectHome=no|read-only|tmpfs|yes

After changing the values above run:

sudo systemctl daemon-reload
sudo systemctl restart apache2

That's all! You are back to business 🙂

Ps. Debian/Ubuntu apache2 guys: not cool, not cool at all. Harding this kind of settings should not be done by maintainers of the packages. This should be a known choice of a system administrator. Not something that is pushed as default, breaking all kind of systems...