title: How to connect to Sybase via PHP
body: <p>I'm trying to connect to a Sybase database with PHP5.  I believe I've successfully compiled PHP with <code>PDO_DBLIB</code>, as <code>phpinfo()</code> lists <code>dblib</code> under PDO drivers, and <code>freetds</code> as the <code>pdo_dblib</code> flavour.</p>
  
  <p>However, when I try to test a connection, I get an error reading: </p>
  
  <blockquote>
    <p>'PDOException' with message 'could not find driver'</p>
  </blockquote>
  
  <p>I'm trying to connect to a server on my LAN with this code:</p>
  
  <pre><code>$dbh = new PDO("sybase:host=192.168.1.xxx;dbname=[database-name]", '[user]', '[pass]');
  </code></pre>
  
  <p>Any suggestions would be greatly appreciated!</p>