title: What PDO driver to use with mariadb?
body: <p>After replacing mysql with mariadb, I encountered the following error:</p>
  
  <blockquote>
    <p>PHP Fatal error:  Uncaught exception 'PDOException' with message
    'could not find driver' in /var/www/inlcude/config.php:5\nStack
    trace:\n#0 /var/www/inlcude/config.php(5):
    PDO->__construct('mysql:dbname=my...', 'apache', 'ABCDE...')\n#1
    /var/www/html/index(21): require('/var/www/inlcude/con...')\n#2
    {main}\n  thrown in /var/www/inlcude/config.php on line 5</p>
  </blockquote>
  
  <p>I have read through the following two related questions, but can't find the answer there:<br>
  <a href="https://stackoverflow.com/questions/16195013/pdo-and-mariadb">PDO and MariaDB</a><br>
  <a href="https://stackoverflow.com/questions/2852748/pdoexception-could-not-find-driver">PDOException “could not find driver”</a></p>
  
  <p><code>yum list pdo_mysql</code>, <code>yum list php5-mysql</code>, <code>yum list php5-mariadb</code> all returns no matching package. What is the name of the PDO driver for mariadb to be used on Fedora 20 (red hat)?</p>
  
  <p>Just to add, <code>php-pdo</code> is already installed.</p>