Skip to main content

EA4: perl cgi under nobody

Comments

3 comments

  • cPanelMichael
    Hello, You'd need to use the ITK MPM to have the Apache process to switch to the domain owner's user identifier (UID) and group identifier (GID) before it responds to the request. This MPM option is documented at:
    0
  • rch7
    mod_mpm_itk doesn't work with threads as far as I understand? It defeats the purpose of my setup. I had assumed if you switch uid for php scripts using mod_mpm_event and fpm, it should be similar way to do it for perl scripts.
    0
  • cPanelMichael
    I had assumed if you switch uid for php scripts using mod_mpm_event and fpm, it should be similar way to do it for perl scripts.

    PHP-FPM works for PHP, but Perl scripts run under Apache (nobody) and are not part of the PHP handler. Thank you.
    0

Please sign in to leave a comment.