title: Error when connecting to mssql server with PHP
body: <p>I'm trying to connect to a Navision database (MSSQL 2008) through PHP.</p>
  
  <p>On my Linux server, I have build FreeDTS and recompiled PHP with the mssql extension.</p>
  
  <p>However, I get the following error:</p>
  
  <blockquote>
    <p>Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: </p>
  </blockquote>
  
  <p>I have copied the code to a Windows server running PHP, and it connects just fine.</p>
  
  <p><strong>Server info:</strong></p>
  
  <pre>
  OS: Centos 6.2
  PHP version: 5.2.17
  FreeDTS version: 0.91
  </pre>
  
  <p>I have tried to connect to the Mssql server through telnet, and that works fine. So no firewall issues.</p>