@lawrenceM to Comic Strips • 1 month agoLinux processesimagemessage-square67arrow-up1570arrow-down119
minus-square@lawrenceOPMlink5•1 month agoThe 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.
minus-square@[email protected]linkfedilink4•1 month agoOr PHP runs in its own fastcgi like process under a different account.
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.
Or PHP runs in its own fastcgi like process under a different account.