Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Aug 30, 2025, 04:30 AM

Title: Website shows 500 Internal Server Error: mod_fcgid: error reading data from
Post by: Suhitha on Aug 30, 2025, 04:30 AM
Question: Website shows 500 Internal Server Error: mod_fcgid: error reading data from FastCGI server


Symptoms


500 Internal Server Error
/var/www/vhosts/example.com/logs/error_logs file:
CONFIG_TEXT: /var/www/vhosts/example.com/logs/error_logs file:
[error] [client ] Premature end of script headers: index.php, referer: http://example.com
[warn] [client ] (104)Connection reset by peer: mod_fcgid: error
reading data from FastCGI server, referer: http://example.com

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_bloginfo() in /var/www/vhosts/example.com/httpdocs/wp-includes/class-wp-locale.php:231
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[error] 28511#0: *7681 upstream prematurely closed connection while reading response header from upstream, client: , server: example.com, request: "POST /login HTTP/1.1", upstream: "http://203.0.113.2:7080/login", host: "example.com", referrer: "http://example.com"

Cause

Website code issues.


Resolution

Switch PHP handler from FastCGI to FPM:

1.Log in to Plesk

2.Go to Domains > example.com > PHP Settings

3.Select required PHP version and/or PHP handler from the drop-down list

4.Apply the changes

If the issue persists, contact the website developer


Related to

Plesk for Linux[/b]