Microsoft Drivers 4.1.6 Changes
Microsoft Drivers 4.1.6 comes with support for SQL Server, Azure Database and Azure SQL DW from any application with PHP 7+. Here are the new additions:
“Merged Linux and Windows code. Enabled connection pooling with unixODBC. To enable pooling: in odbcinst.ini, add Pooling=Yes to the [ODBC] section and a positive CPTimeout value to [ODBC Driver 13 for SQL Server] section. See http://www.unixodbc.org/doc/conn_pool.html for detailed instructions. PECL packages for Windows.”
The release also fixes a number of bugs:
“Fixed issues with sqlsrv_has_rows() to prevent it from moving statement cursor (issue #37). Fixed sqlsrv client buffer size to only allow positive integers (issue #228). Fixed PECL installation errors when PHP was installed from source (issue #213). Fixed segmentation fault with PDOStatement::getColumnMeta() when the supplied column index is out of range (issue #224). Fixed the assertion error (Linux) when fetching data from a binary column using the binary encoding (issue #226).”
Of course, this is a technical preview. You can expect some bugs and stability issues and it’s only really intended for testing purposes. However, you can provide vital feedback by submitting issues to the GitHub page. Tip: Codester has a nice php script database where you can find nice features and even whole applications for your php-projects.