title: How to enable PDO on AppServ on windows?
body: <p>I am trying to create an app fir the first time using PDO and when i </p>
  
  <pre><code>try {
      $db = new PDO('mysql:host=localhost;dbname=DBname', 'user', 'pass');
  } catch(PDOException $e){
      echo '&lt;div class="errorMSG"&gt;Failed to connect to database. Please try to refresh this page in 1 minute. However, if you continue to see this message please contact your system administrator.&lt;/div&gt;';
      echo '&lt;br /&gt;&lt;br /&gt;' . $e-&gt;getMessage();
      exit();
  
  }
  </code></pre>
  
  <p>ofcourse i have change pass user and DBname to the correct once but i have get an error 
  could not find driver</p>
  
  <p>So with few searches i found out that i need to enable pdo_mysql but i can't seems to find out where do I do that and how?
  Can some one please help me with how to enable this and/or get this to work on my local machine. I have windows 7.
  I can't find where is my php.int is located.</p>
  
  <p>Thanks :)</p>