title: SQL server error: Unable to connect to your database server using the provided settings
body: <p>Again I am here with an error, i have connected my PHP with SQL server from an IP Address and it works properly in my local PC. but when i transfer my source codes to my client PC it gives below error:</p>
  
  <p><strong>A Database Error Occurred</strong></p>
  
  <p>Unable to connect to your database server using the provided settings.</p>
  
  <p>Filename: C:/xampp/htdocs/SAT_POS/system/database/DB_driver.php</p>
  
  <h2>Line Number: 436</h2>
  
  <p>but actualy i have included the extension also and set in php.ini, see below:</p>
  
  <p>extension=php_sqlsrv_56_ts.dll
  extension=php_sqlsrv_54_ts.dll</p>
  
  <p>the above two lines are included in the php.ini file and the extension directory is also the default one, see below:</p>
  
  <p>extension_dir="C:\xampp\php\ext"</p>
  
  <p>and in CI database code I configured like below :</p>