Hello. I want to to minimize waiting time if i don't have connection to specific remote host.
For example i am checking a DB server for connection. If i don't have connection the time out of the page is approximately 50 seconds. I want to make it 3 second.
I have installed SQLSRV driver. And i have activated in php.ini.
And the php code is:
$serverName = "172.18.0.52"; //Iskar server seizmika
$connectionInfo = array("Database" => "ISKARDB", "UID" => "admin", "PWD" => "admin", "LoginTimeout" => 3);
$conn = sqlsrv_