+// Apache w/FPM is shit because it doesn't have flushpackets=on
+// or not by default anyway, so we will fill up 4k buffers.
+// Yeah, really silly... I know.
+$fpm_workaround_needed = false;
+if (str_contains($_SERVER['SERVER_SOFTWARE'], 'Apache') &&
+ function_exists('fpm_get_status') &&
+ is_array(fpm_get_status()))
+{
+ $fpm_workaround_needed = true;
+}
+