• Rexelpitlum
      link
      fedilink
      arrow-up
      9
      ·
      1 month ago

      Whatever, we have a suspect.

      Bring in GDB to do the interrogation! And perhaps also call Nice, he can play the good cop…

      • hemko@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 month ago

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

        • lawrence@lemmy.worldOPM
          link
          fedilink
          arrow-up
          5
          ·
          1 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.