Also, I changed the lines to: $apache_online_status_after_restart = false; sleep(20); for($i = 0; $i < 20; $i++) { $apache_online_status_after_restart = $this->_checkTcp('localhost', 80); if($apache_online_status_after_restart) break; sleep(1); } Still get the errors... I'll try with longer sleep values now until I find a value working.
You need data input to calculate random numbers, it's like a dice, the more sides the less the chance to get the same numbers I still assume it's mod_proxys fault ... and you're 100% sure your proxy config does containt Code: ProxyRequests Off https://httpd.apache.org/docs/current/mod/mod_proxy.html#proxyrequests