How to install 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 2012.03 | Base | 5.3.3 |
Description
The 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
php-odbc on Amazon Linux 2012.03
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install php-odbc
Package downloads require an active GetPageSpeed subscription — one repository for php-odbc and thousands more packages for Amazon Linux.
Subscribe — from $10/moFrequently asked questions
How do I install php-odbc on Amazon Linux?
Add the GetPageSpeed repository, then install the php-odbc package with your system package manager.
Which Amazon Linux versions is php-odbc available for?
php-odbc is available for Amazon Linux 2012.03.