Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_mpm_event cPanel file permission issue

Discussion in 'EasyApache' started by Jordy, Oct 8, 2017.

  1. Jordy

    Jordy Registered

    Joined:
    Oct 8, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page