• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

500 Internal Server error / mod_fcgid - WordPress site

VinnyT

Regular Pleskian
I have a Plesk 11.5 server running about 40 sites. One of my domains has been experiencing a number of PHP-FPM errors (see other thread). I've been tracing it back to some PHP errors and I have uncovered something interesting.
The specific site is running WordPress with permalinks turned on. The 500 server errors happen when you REMOVE the trailing slash (/) from the URL. For example:
www.site.com/about/ -> works fine.
www.site.com/about -> throws a 500 server error.

The error log show the following:
[Tue Sep 24 00:44:58 2013] [warn] [client 75.52.190.1] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Tue Sep 24 00:44:58 2013] [error] [client 75.52.190.1] Premature end of script headers: index.php

Wordpress debug log is active, but no errors or warnings are being generated.

I compared the config vhost.conf files located in /var/www/system/domain/etc/ to another wordpress domain that is not having this issue. Everything is identical.

Any ideas?
 
Back
Top