How to install php72-php-odbc on Amazon Linux
A module for PHP applications that use ODBC databases
Availability
Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.
| Distro | Channel | x86_64 | Version |
|---|---|---|---|
| Amazon Linux 2 | Base | 7.2.34 |
Description
The php72-php-odbc package contains a dynamic shared object that will add database support through ODBC to PHP. ODBC is an open specification which provides a consistent API for developers to use for accessing data sources (which are often, but not always, databases). PHP is an HTML-embeddable scripting language. If you need ODBC support for PHP applications, you will need to install this package and the php package.
Built for Amazon Linux.
Install
php72-php-odbc on Amazon Linux 2
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php72-php-odbc
Package downloads require an active GetPageSpeed subscription — one repository for php72-php-odbc and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php72-php-odbc on Amazon Linux?
Add the GetPageSpeed repository, then install the php72-php-odbc package with your system package manager.
Which Amazon Linux versions is php72-php-odbc available for?
php72-php-odbc is available for Amazon Linux 2.