Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Amazon Linux 2 On ARM display error message :PHP Fatal error: Unsupported processor architecture. #1442

Open
reddoor-php opened this issue Feb 25, 2023 · 6 comments · May be fixed by #1529

Comments

@reddoor-php
Copy link

reddoor-php commented Feb 25, 2023

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.0

PHP SQLSRV or PDO_SQLSRV version 5.10.1

Microsoft ODBC Driver version 3.52.7

SQL Server version Azure SQL

Client operating system Amazon Linux 2(ARM)

Table schema

Problem description PHP Fatal error: Unsupported processor architecture.

Expected behavior and actual behavior

Repro code or steps to reproduce

@reddoor-php reddoor-php changed the title AWS Amazon Linux 2 On ARM display error message : AWS Amazon Linux 2 On ARM display error message :PHP Fatal error: Unsupported processor architecture. Feb 25, 2023
@v-makouz
Copy link
Contributor

This sounds like a mismatch in terms of processor architecture, such as x86_64 version of PHP trying to run on ARM machine.

@reddoor-php
Copy link
Author

This sounds like a mismatch in terms of processor architecture, such as x86_64 version of PHP trying to run on ARM machine.

Does have document install PHP SQLSRV or PDO_SQLSRV on ARM processors ?

@avtarsm
Copy link

avtarsm commented Mar 2, 2023

Hi,

Please see this link, they have released the driver for ARM.

https://learn.microsoft.com/en-us/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server?view=sql-server-ver16

@reddoor-php
Copy link
Author

Hi,

Please see this link, they have released the driver for ARM.

https://learn.microsoft.com/en-us/sql/connect/oledb/release-notes-for-oledb-driver-for-sql-server?view=sql-server-ver16

Hi~
Thank you very much for your reply, but mine is a Linux operating system msi file, and it seems that I cannot run the installation.
https://go.microsoft.com/fwlink/?linkid=2224283

@v-chojas
Copy link

v-chojas commented Mar 6, 2023

I think you meant to write ODBC, not OLEDB.

@v-chojas
Copy link

v-chojas commented Mar 6, 2023

@detomon detomon linked a pull request Dec 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants