title: cant connect to mssql server or sqlsrv not showing up on phpinfo
body: <p>I have problem to connect to SQL server. I did all the steps from <a href="https://stackoverflow.com/questions/36543053/fatal-error-call-to-undefined-function-mssql-connect-or-sqlsrv-connect-in-x">here</a> and I already changed the <code>php.ini</code> configuration file:</p>
  
  <pre><code>;On windows: 
  extension_dir = "D:\xampp\php\ext"
  </code></pre>
  
  <p>But I still can't connect, my PHP Version is 7.2.11. I tried with <code>mssql_connect()</code> and <code>sqlsrv_connect()</code>:</p>
  
  <p>This is my attempt:</p>
  
  <pre><code>&lt;?php
  $servername = "1111";
  $username = "user";
  $password = "123";
  $dbname = "DEV";
  
  $connection = mssql_connect($servername, $username, $password);
  if (!$connection) {  die('Not connected : ' . mssql_get_last_message());} 
  $db_selected = mssql_select_db($dbname, $connection);
  if (!$db_selected) {
    die ('Can\'t use db : ' . mssql_get_last_message());
  } else{
  
  echo "success";}
  ?&gt;
  </code></pre>