A website that runs PHP as Fast-CGI application cannot be opened in a browser and produces the following error:
Service Temporarily Unavailable
/var/log/httpd/suexec.log we see:
user mismatch (atmail instead of apache)
mod_fcgid: can't apply process slot for /var/www/cgi-bin/cgi_wrapper/cgi_wrapper
Atmail user is specified in apache configuration file instead of Apache user.
Backup the original Apache configuration file:
cp -a /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.orig
/etc/httpd/conf/httpd.confto change User from 'atmail' to 'apache':
# grep -ir user /etc/httpd/conf/httpd.conf |grep -v '#'
Reload apache configuration: