Hi there, I’m struggling to get fcgi or cgi working on a 1G vps with centos 6.4. I am in a situation where cpanel was once installed, but I’ve removed it and it seems ok. VPS provider doesnt seem to want to do a os reinstall, so im sort of stuck in this situation for now.
I’ve read through all the threads I could find and tried them all, but to no avail.
The funny thing is my logs are somewhat clean for suexec.
httpd error log:
[Sat Jul 13 08:22:36 2013] [warn] [client xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jul 13 08:22:36 2013] [error] [client xxx.xxx] Premature end of script headers: index.php
[2013-07-13 08:22:36]: uid: (505/xxx) gid: (505/xxx) cmd: php5.fcgi
root@server [/usr/sbin]# suexec -V
root@server [/usr/sbin]# stat -c %a suexec
root@server [/usr/sbin]# ls -al suexec
-r-s–x— 1 root apache 29520 May 17 22:43 suexec*
Any help or direction would be appreciated