• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

500 Error - PhP Fast CGI

G

GabrieleD

Guest
Hi,

I've a problem with FastCGI.
When i try to run a site with FastCGI i got a 500 error.


This is the error_log

[Sat Apr 14 22:10:10 2012](104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Apr 14 22:10:10 2012] [error] [client ***********] Premature end of script headers: index.php

---------------------------------------------------------------
Parallels Plesk , 10.4.4, CentOs 5.4, 64bit
--------------------------------------------------------------
 
whats the result of the below command ?


grep CGI_PHP_BIN /etc/psa/psa.conf

the variable must have the value that defines the binary path of cgi
 
I wrote this:
# grep CGI_PHP_BIN /etc/psa/psa.conf

It gave no result.

I opened /etc/psa/psa.conf file and added this line to end of file:
CGI_PHP_BIN /usr/bin/php-cgi

Restarted the server. But it didn't work. I still get this error for FastCGI:
[Fri Aug 09 21:50:02 2013] [warn] [client 5.47.201.9] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri Aug 09 21:50:02 2013] [error] [client 5.47.201.9] Premature end of script headers: index.php
 
Back
Top