github microsoft/msphpsql 4.0.4-Linux
4.0.4 - Linux - Preview

latest releases: v5.12.0, v5.12.0-beta1, v5.11.1...
pre-release7 years ago

Thanks to the community’s input, this release expands drivers functionalities. Updated Linux drivers (4.0.4) compiled with PHP 7.0.10 are available for Ubuntu 15.04, Ubuntu 16.04, and RedHat 7.2. This release includes the following fixes:

  • Fixed undefined symbols at SQL* error when loading the drivers.

  • Fixed undefined symbol issues at LocalAlloc and LocalFree on RedHat7.2.

  • Fixed issue #144 (floating point exception).

  • Fixed issue #119 (modifying class name in sqlsrv_fetch_object).

  • Added support for EMULATE_PREPARE feature.

  • Added following integer SQL Types constants for cases which function-like SQL types constants cannot be used e.g. type comparison:

    SQLSRV constant Typical SQL Server data type SQL type identifier
    SQLSRV_SQLTYPE_DECIMAL decimal SQL_DECIMAL
    SQLSRV_SQLTYPE_NUMERIC numeric SQL_NUMERIC
    SQLSRV_SQLTYPE_CHAR char SQL_CHAR
    SQLSRV_SQLTYPE_NCHAR nchar SQL_WCHAR
    SQLSRV_SQLTYPE_VARCHAR varchar SQL_VARCHAR
    SQLSRV_SQLTYPE_NVARCHAR nvarchar SQL_WVARCHAR
    SQLSRV_SQLTYPE_BINARY binary SQL_BINARY
    SQLSRV_SQLTYPE_VARBINARY varbinary SQL_VARBINARY

    Note: These constants should be used in type comparison operations (refer to issue #87 and #99 ), and don't replace the function like constants with similar syntax. For binding parameters you should use the function-like constants, otherwise you'll get an error.

Thanks,
SQL Server Engineering Team

Don't miss a new msphpsql release

NewReleases is sending notifications on new releases.