Bogdan, it was that!!!!
Thanks!
Announcement
Collapse
No announcement yet.
Error 500 when switch from suPHP to FCGI
Collapse
X
-
Thanks, i looked in suexec_log and found those lines
[2015-09-23 13:41:56]: uid: (742/delsatgr) gid: (742/delsatgr) cmd: php5
[2015-09-23 13:41:56]: cannot stat program: (php5)
[2015-09-23 13:41:56]: uid: (742/delsatgr) gid: (742/delsatgr) cmd: php5
[2015-09-23 13:41:56]: cannot stat program: (php5)
Leave a comment:
-
Also, did you execute cagefsctl --force-update after a switch? Maybe needed binaries are not there?
Leave a comment:
-
Im pretty sure the problem is one of the Fcgi limits is being reached. You can add my fcgi configuration in WHM "Apache Configuration" -> Include Editor - Pre Virtual Host Include
Code:FcgidMaxRequestsPerProcess 500 FcgidMinProcessesPerClass 0 FcgidMaxProcessesPerClass 8 FcgidMaxProcesses 150 FcgidIdleTimeout 60 FcgidProcessLifeTime 540 FcgidIdleScanInterval 30 BusyTimeout 1500 IPCConnectTimeout 300 IPCCommTimeout 7200
Regards
Leave a comment:
-
Hi,
There should be more information in some other apache logs, most probably in suexec_log . The usual thing of such error after switching to FCGI are permissions and ownership isssues, for files and for directories.
Leave a comment:
-
Error 500 when switch from suPHP to FCGI
Hello! Im trying to setup one server to use FCGI instead of suPHP. Its a shared server with 150 accounts. Every time i try i get error 500 on some sites. I check the file permissions and are ok, how can i debug this problem?
Here is a sample error from apache error_log
[Wed Sep 23 12:00:24 2015] [warn] [client 207.46.13.176] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Wed Sep 23 12:00:24 2015] [error] [client 207.46.13.176] Premature end of script headers: index.php
Thanks!Tags: None
Leave a comment: