• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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