Skip to main content
2 of 2
Grammar. Spelling. Formatting.
Paulo Tomé
  • 3.9k
  • 6
  • 28
  • 40

Apache2 on Debian 9 and 10 is started from systemd. it has

PrivateTmp=true

in its definition. So processes started from the server don't have access to the regular /tmp and /var/tmp directories. Instead, they have their own directories.

You can either move the socket out of /tmp or start apache2 with

PrivateTmp=false