• @[email protected]
    link
    fedilink
    English
    61 month ago

    Forgive me my ignorance, but since Apache is running as root, couldn’t PHP inherit it’s permissions?

    • @[email protected]OPM
      link
      fedilink
      51 month 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.