Cant make PDO_sqlite working php
<p>I am developing a website. I need to use PDO. I ran <code>phpinfo();</code> and it said:</p>

<pre><code>PDO Driver for SQLite 3.x    enabled
SQLite Library               3.8.10.2
</code></pre>

<p>Although writing </p>

<pre><code>$pdo = new PDO("path/to/db.db");
</code></pre>

<p>Gives me error if as this function doesn't exist.</p>

<blockquote>
  <p>Uncaught exception 'PDOException' with message 'could not find driver`.</p>
</blockquote>

<p>Am I doing something wrong? (also that db file is sqlite 3 format). Any advice? Thanks ! (btw my website is made with wordpress)</p>