mod_mpm_event cPanel file permission issue

Jordy

Registered
Oct 8, 2017
1
0
1
Netherlands
cPanel Access Level
Root Administrator
Hello,

Because we had some performance issue's using the standard mod_mpm_prefork module combined with mod_mpm_itk we decided to go over to mod_mpm_event and it handled our traffic alot better.

But the issue that came with this was that our websites aren't generating log files anymore, so I made a test PHP file with a simple file_put_contents() and it gives me the following error.

Warning: file_put_contents(test.txt): failed to open stream: Permission denied in /home/etherumps/public_html/blieb.php on line 6

Then if I execute echo `whoami`; on the server it shows that it is ran by the user "nobody". This is probably where the issue is, but is there any way to run the processes on the user itself? Like we had with mpm_prefork? Sadly it's not possible to enable mod_mpm_itk in combination with mpm_event.

The files are all being read fine tho, our websites are running files, we just can't generate any files which ofcourse sucks because we can't see any log files either.

Thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463