PHP 8.1.24 Released!

Driver Microsoft SQL Server pour PHP

add a note

User Contributed Notes 1 note

denis dot khvorostin at gmail dot com
11 days ago
There is no way to check the state of the Sql Server Connection in PHP currently. The only way is to perform cheap query (e.g. SELECT GETDATE();) on the open connection, catch any SqlException that is thrown, check and re-establish the connection if needed
To Top