PDOException -> could not find driver from XAMPP
<p>I am using XAMPP on windows and i am using PDO to connect to my database. 
However, i am having a could not find driver error on my webpage. I have seen many questions based on this error. But most of the solutions was to enable the PDO_mysql. As seen in the image below, my pdo_mysql is already enabled and i have already put the proper extensions and dir configuration on my php.ini. Nothing seem to work. 
Here is the error msg:</p>

<pre><code>object(PDOException)[2]
  protected 'message' =&gt; string 'could not find driver' (length=21)
  private 'string' (Exception) =&gt; string '' (length=0)
  protected 'code' =&gt; int 0
  protected 'file' =&gt; string 'C:\xampp\htdocs\phpTest\index.php' (length=33)
  protected 'line' =&gt; int 56
  private 'trace' (Exception) =&gt; 
    array (size=1)
      0 =&gt; 
        array (size=6)
          'file' =&gt; string 'C:\xampp\htdocs\phpTest\index.php' (length=33)
          'line' =&gt; int 56
          'function' =&gt; string '__construct' (length=11)
          'class' =&gt; string 'PDO' (length=3)
          'type' =&gt; string '-&gt;' (length=2)
          'args' =&gt; 
            array (size=3)
              ...
  private 'previous' (Exception) =&gt; null
  public 'errorInfo' =&gt; null
  public 'xdebug_message' =&gt; string '&lt;tr&gt;&lt;th align='left' bgcolor='#f57900' colspan="5"&gt;&lt;span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'&gt;( ! )&lt;/span&gt; PDOException: could not find driver in C:\xampp\htdocs\phpTest\index.php on line &lt;i&gt;56&lt;/i&gt;&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th align='left' bgcolor='#e9b96e' colspan='5'&gt;Call Stack&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;th align='center' bgcolor='#eeeeec'&gt;#&lt;/th&gt;&lt;th align='left' bgcolor='#eeeeec'&gt;Time&lt;/th&gt;&lt;th align='left' bgcolor='#eeeeec'&gt;Memory&lt;/th&gt;&lt;th align='left' bgcolor='#eeeeec'&gt;Function&lt;/th&gt;&lt;th align='le'... (length=1171)
</code></pre>

<p>Here is the screenshot:
<a href="https://i.stack.imgur.com/sfREm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sfREm.png" alt="enter image description here"></a></p>