Fcgid with suexec run httpd as web user?

toffe

Active Member
Oct 3, 2017
25
1
3
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 :)
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter

toffe

Active Member
Oct 3, 2017
25
1
3
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?
 

Attachments

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter