Running on nginx, phpfpm 7.2. My code was working great on phpfpm 5 but updated to 7 and now I'm getting timeout issues.
I've tried setting timeouts in php.ini and keep getting timeout errors. The code is just simple basic:
$fsock = fsockopen('1.1.1.1', 22, $errno, $errstr);
echo $errstr;
I can connect to the server fine via terminal.