- Plesk 12.0 for Linux
PHP in FastCGI mode does not work. It seems to work properly with SELinux disabled but it generates error when it is in "Enforcing" state.
Apache error log files contain the following entries:
[Mon Mar 30 19:32:54 2015] [warn] [client 169.254.16.85] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Mar 30 19:32:54 2015] [error] [client 169.254.16.85] 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
# chcon system_u:object_r:httpd_suexec_exec_t:s0 /usr/sbin/suexec