Install pdo_MySQL manually from CentOS

As you know, MGe is missing for sometimes for iOS and Android. 🙂

Today, MGe wish to share on how to install pdo_mysql from CentOS manually.

1. Basically, you will need to compile pear and mysql from your Apache. Run the command as below to get it updated.

yum install php-devel php-pear mysql-devel httpd-devel
pecl install pdo
PHP_PDO_SHARED=1 pecl install pdo_mysql

2. Open your php.ini file and insert the line as below.


3. Restart the Apache services.

Published by

Mick Genie

Mick Genie is the founder of MickGenie.com and working at ExaBytes Network Sdn Bhd and WPWebHost web host company. He is expertise in Windows and Linux environment especially web hosting related information, tips and trick as well as the IT Information.

3 thoughts on “Install pdo_MySQL manually from CentOS”

Comments are closed.