Please check the FAQ (frequently-asked questions) first. If you have other questions or something to report, please address the following (skipping questions might delay our responses):
PHP version
PHP 8.2.16 (cli) (built: Mar 7 2024 08:55:56) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.16, Copyright (c) Zend Technologies
with Zend OPcache v8.2.16, Copyright (c), by Zend Technologies
with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans
PHP SQLSRV or PDO_SQLSRV version
sqlsrv-5.12.0
pdo_sqlsrv-5.12.0
Microsoft ODBC Driver version
msodbcsql18_18.3.2.1-1
mssql-tools18_18.2.1.1-1
SQL Server version
2016 (I dont know any other specifics)
Client operating system
Ubuntu 22.04 (docker)
Problem description
After building the docker image (dockerfile below, the target name is "app-sqlsrv") on ARM64 I get the "PHP Fatal error: Unsupported processor architecture." while on AMD64 I get the "SQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712" error message.
Please check the FAQ (frequently-asked questions) first. If you have other questions or something to report, please address the following (skipping questions might delay our responses):
PHP version
PHP SQLSRV or PDO_SQLSRV version
Microsoft ODBC Driver version
SQL Server version
2016 (I dont know any other specifics)
Client operating system
Ubuntu 22.04 (docker)
Problem description
After building the docker image (dockerfile below, the target name is "app-sqlsrv") on ARM64 I get the "PHP Fatal error: Unsupported processor architecture." while on AMD64 I get the "SQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712" error message.
The openssl version is set to 1.1.1f because otherwise the connection cannot be made and it times out.
Expected behavior and actual behavior
The sql connection is made.