Should mysql, php, and apache be classified into their respective users and user groups?

Q1: do php, apache, nginx, mysql, etc. installed in Linux need to be installed in their respective users and user groups with the same name?

Q2: what are the benefits of this suggestion?

question 3: usually use ftp to send files to the project, the login user is their own or root, then after the file is transferred to the server, do you want to manually classify the user group and users to which the file belongs to apache or something else?

clipboard.png

clipboard.png

Thank you.

May.14,2021
Menu