title: How do I install PHP PDO ODBC drivers on CentOS 7?
body: <p>I already have PHP 5.4 installed in a CentOS 7 VPS. I am trying now to access a legacy database in <strong>.mdb</strong> format with a PHP script.</p>
  
  <p>However, my <strong>phpinfo()</strong> page says that only <code>mysql</code> and <code>sqlite</code> PDO drivers are enabled. No driver named ODBC is enabled.</p>
  
  <p>Which is why I have tried to follow <a href="http://php.net/manual/en/ref.pdo-odbc.php" rel="noreferrer">this</a> tutorial to get that to work. But it doesn't work. <code>bash: ./configure: No such file or directory</code>.</p>
  
  <p>I don't know from which folder I have to run the commands listed there. Is there a command which will allow me to install the PDO ODBC drivers from the system e.g. <code>yum -y install php_odbc</code> which would be easier for me to work with? If not, what am I doing wrong?</p>