Thank you for that information, I'll dig into that
However I'm going to make my system in PHP and was counting on using a function like exec(). But when this runs as apache and not the ServerAdmin user, I don't have enough permissions. How can I solve this?
Lowering the required permissions e.g. using chmod 777 would be a security risk, but should I just grant apache extra permissions?