title: HTTP 500 Internal Server error with PDO
body: <p>I am getting Internal Server Error when I use the following code. Do I have to change any configuration? I am using PHP version 5.2.6. I couldn't find any documentation about this issue. Please let me know. Thank you.</p>
  
  <pre><code>try {
      $dbh = new PDO($db_host1, $db_username, $db_password);
  } catch (PDOException $e) {
      print "Error!: " . $e-&gt;getMessage() . "&lt;br/&gt;";
      die();
  }
  </code></pre>