• 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.

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