4 ms·
It runs in a separate process, and is therefore isolated from the HTTP server. Making it run as the owner of the file is also quite common and trivially achieve
by mgaunard 3y ago
It runs in a separate process, and is therefore isolated from the HTTP server. Making it run as the owner of the file is also quite common and trivially achieved (suExec).
mod_php, on the other hand, runs inside the HTTP server process and with the same uid and capabilities, with no way to change that.