GetPageSpeed Extras

php-mysql

How to install php-mysql on Amazon Linux

A module for PHP applications that use MySQL databases

License: PHP Vendor: GetPageSpeed LLC http://www.php.net/

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-mysql package contains a dynamic shared object that will add MySQL database support to PHP. MySQL is an object-relational database management system. PHP is an HTML-embeddable scripting language. If you need MySQL support for PHP applications, you will need to install this package and the php package.

Built for Amazon Linux.

Install

Base Amazon Linux 2012.03

php-mysql on Amazon Linux 2012.03

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php-mysql

Package downloads require an active GetPageSpeed subscription — one repository for php-mysql and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install php-mysql on Amazon Linux?

Add the GetPageSpeed repository, then install the php-mysql package with your system package manager.

Which Amazon Linux versions is php-mysql available for?

php-mysql is available for Amazon Linux 2012.03.

Subscribe