I upgraded one of my dev environments to PHP 8.1 from 7.4.5. For some reason, an error message appeared:
SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL Provider: The certificate chain was issued by an authority that is not trusted.
but everything is fine with PHP 7.4. Sqlsrv and PDO drivers are up to date.
Does anyone know how to deal with this problem?