title: connect to SQL Anywhere by TCP/IP
body: <p>I'm new in sql anywhere, currently I'm trying to connect using PHP.</p>
  
  <p>This is what I've got so far:</p>
  
  <pre><code>$conn = sqlanywhere_connect ( "UID=usr;PWD=pass;ENG=serv;DBN=bd_name;COMMLINKS=TCPIP{HOST=10.1.1.189:2638}" );
  </code></pre>
  
  <p>SQL Anywhere is installed on another machine, where I can't run apache, website is running on localhost (xampp). This is only for test, when website would be ready I will connect to correct db.</p>
  
  <p>This is error I've got:</p>
  
  <pre><code>Warning: sqlanywhere_connect(): The SQLAnywhere client libraries could not be loaded. Please ensure that dbcapi.dll can be found in your PATH environment variable. in C:\xampp\htdocs\core\cache\includes\elements\modsnippet\25.include.cache.php on line 21
  </code></pre>
  
  <p>I haven't got <code>dbcapi.dll</code> file, but I'm not sure I should have it.<br>
  In <a href="http://dcx.sybase.com/index.html#1001/en/dbpgen10/pg-php-connect.html" rel="nofollow">documentation</a> I couldnt find this file (SQL Anywhere 10 which I've got), but for SQL Anywhere 11 I could find pages where was info about this file.</p>
  
  <p>To use <code>sqlanywhere_connect</code> I've download SQL Anywhere module for curren ver. of PHP onto my machine and I've add it to <code>php.ini</code> file.</p>
  
  <p>What should I do? Should I download missing file? Would it be enough or I could get more errors asking for other files?</p>