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
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bf0ef5-30a81.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bf0ef5-30a81.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?