• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

[ERROR]500 Error with PHP-CGI

G

GabrieleD

Guest
Hi,

I've try to install php-suoshin (newer version) on my server.
but now when i try to acces to a website with PHP-fastCGI i get 500 error.

In error log i can see:

Premature end of script headers: cgi_wrapper,

How i can fix?
I must re-install php?How?

---------------------------------------------------------------
Parallels Plesk , 10.4.4, CentOs 5.4, 64bit
--------------------------------------------------------------
 
Now the error_log says


[Sat Apr 14 21:09:10 2012] [warn] [client ***********] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Apr 14 21:09:10 2012] [error] [client ***********] Premature end of script headers: index.php
 
Last edited by a moderator:
First of all make sure that you haven't module mod_fcgid loaded twice. It should work only with /etc/httpd/conf.d/fcgid.conf configuration. There are shouldn't be any other mentions for mod_fcgid in Apache configs.
Also try to set value of ProcessLifeTime to 0 in /etc/httpd/conf.d/fcgid.conf
 
I've checked.
There aren't no mention of mod_fcgi on httpd.conf.
I 've try to set ProcessLimitLife to 0 but the server say 500Error .
 
Back
Top