• lawrence@lemmy.worldOPM
    link
    fedilink
    arrow-up
    5
    ·
    3 months ago

    The Apache main process runs as root. When it receives a request, it spawns a child process that doesn’t run as root. PHP runs as the same user as the Apache child process.

    • jollyrogue
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      Or PHP runs in its own fastcgi like process under a different account.