Issue: Wordpress mltisite and Fast CGI

Recently I have installed the WordPress multi site. The multisite is in directory mode. For example the second website is on example.com/en/.
When I try to open the dashboard from: example.com/en/wp-admin/ I get the following error on Firefox:
The page isn’t redirecting properly
When I checked the apache error log I see the following log:
mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

The PHP version of the server is 7.3.18 and the OS is Debian Linux 8.

configuration of wordpress multisite:

define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'example.com');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

configuration of htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

Your script is timing out. You should get a better server or optimize the one which you have, if you want to run WP multisite on it. For now, you can check to see if this helps:

FcgidOutputBufferSize 0

But visitor experience will be suboptimal unless you change other stuff.

The server is fast enough I think.

I’ve added the option FcgidOutputBufferSize 0 at the end of ssl part of site’s directive and nothing changed in Firefox output and still gets the same in error log.

I think the problem is from Fast CGI. I may switch the PHP module and inform the results.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.