ThinkPHP5 has its own log module. In the linux environment, the generated log files belong to different users.

ThinkPHPlinux:

:

Why does this happen? you need a big god to answer the question of a rookie who has just learned tp5. Thank you!

another thing is that sometimes, for example, the log on the 29th does not have this situation. Is it necessary to configure the users somewhere?

May.14,2021

normally, whoever the group or person of your php's current directory belongs to, whose file is generated

Menu