this post was submitted on 12 Aug 2024
550 points (96.8% liked)

Comic Strips

11950 readers
1496 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 5 points 1 month ago (1 children)

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.

[โ€“] [email protected] 4 points 1 month ago

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