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!

Fcgid with suexec run httpd as web user?

Discussion in 'General Discussion' started by toffe, Mar 4, 2018.

Tags:
  1. toffe

    toffe Active Member

    Joined:
    Oct 3, 2017
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Hello, we have a webshop that syncs the product catalog from another webserver. We are told that we need to have fcgid installed and httpd needs to run as the webuser for it to work properly. Can this be done with suexec? Isn´t it a security issue if done so?

    httpd runs now as nobody.

    We are receiving these errors in the sync log when syncing the products:
    - This call to PrestaShop Web Services failed and returned an HTTP status of 500. That means: Internal Server Error

    - This call to PrestaShop Web Services failed and returned an HTTP status of 401. That means: Unauthorized.

    Looking forward for your answers, thanks :)
     
  2. toffe

    toffe Active Member

    Joined:
    Oct 3, 2017
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    As webuser I mean the "website" that is using the process
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. toffe

    toffe Active Member

    Joined:
    Oct 3, 2017
    Messages:
    25
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Hi, I have fcgid and mod_suexec installed. fcgid conf file is configured. Running /usr/local/cpanel/bin/rebuild_phpconf --available and /usr/local/cpanel/bin/rebuild_phpconf --current, does not show that mod_suexec is enabled (screenshot). Can I check somewhere that it is enabled?
     

    Attached Files:

  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,749
    Likes Received:
    1,885
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice