Article ID: 125072, created on Mar 31, 2015, last review on Apr 2, 2015

  • Applies to:
  • Plesk 12.0 for Linux


PHP in FastCGI mode does not work. It seems to work properly with SELinux disabled but it generates error 500 "Internal Server Error" when it is in "Enforcing" state.

# getenforce

Apache error log files contain the following entries:


[Mon Mar 30 19:32:54 2015] [warn] [client] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Mar 30 19:32:54 2015] [error] [client] Premature end of script headers: info.php


failed to open log file /var/log/httpd/suexec_log
fopen: Permission denied


Invalid SELinux security context.


Set the following security context to the /usr/sbin/suexec

# chcon system_u:object_r:httpd_suexec_exec_t:s0 /usr/sbin/suexec

Search Words

failed to open log file /var/log/httpd/suexec_log

(104)Connection reset by peer: mod_fcgid

fopen: Permission denied


29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF