• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Issue PHP critical error on Centos not on Debian, same config

MicheleP

Basic Pleskian
Hi
I've a php soap server, on a server with Centos
On this I need to parse the response with a function Parse_function
ob_start("Parse_function");
whatever php version or apache/ngnix application, get always the same error:
23893#0: *320074 upstream prematurely closed FastCGI request while reading upstream

And there is no problem on the code, also for a simple response with "Hallo" (no elaborations, no long operations that could require a different timeout, no query, no nothing...) the server breaks

But (my last test) the same solution on a server with Debian works great! As it is suppose to do.
Why??
There are differences between the two server versions? There is a solution?
It is important
Thanks
 
Hi, yes, then the error change in this:
31871#0: *366111 upstream prematurely closed connection while reading upstream
 
Please try to increase the timeouts for nginx and test again:
Code:
proxy_connect_timeout 180s;
proxy_send_timeout 180s;
proxy_read_timeout 180s;
fastcgi_send_timeout 180s;
fastcgi_read_timeout 180s;
 
in Apache & nginx Settings, right?
done
same error
19018#0: *367849 upstream prematurely closed connection while reading upstream
 
done, same error
19018#0: *368941 upstream prematurely closed connection while reading upstream

The problem is not only on this server, I've tried another server with centos, same thing
 
However I think it's not a timeout problem, there are no operations or scripts that could go in timeout, seems to me there is a problem with php on centos with the ob_start function
 
Back
Top