PHP MSSQL error code 0x2746 - SQLSTATE[08001]

less than 1 minute read

After installing the SQL drivers for linux getting the following error:

The error

SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746

Found the following issue:

https://github.com/microsoft/msphpsql/issues/1021

Which led me to the following fix:

https://wiki.debian.org/ContinuousIntegration/TriagingTips/openssl-1.1.1

Adding the following line to the d takes the SSL down to the 1024 bit RSA key

sed -i -E 's/(CipherString\s*=\s*[email protected]=)2/\11/' /etc/ssl/openssl.cnf

Updated:

Comments