android - Cannot get my php to process sqlsrv_connect on my GoDaddy Server -


i have android app trying connected sql server.

i have tried countless ways of getting work error on sqlsrv_connect.

here php im tyring use. have replaces read server/credentials *

<?php  $myserver = "***"; $myuser = "***"; $mypass = "***"; $mydb = "***";   //connection database $conn = sqlsrv_connect($myserver, array('uid'=>$myuser, 'pwd'=>$mypass, 'database'=>$mydb));  $_get['search'];  //declare sql statement query database $query = "select * dbo.jd";  $data = sqlsrv_query($conn, $sql);    $result = array();  {     while ($row = sqlsrv_fetch_array($data, sqlsrv_fetch_assoc)){         $result[] = $row;        } }while ( sqlsrv_next_result($data) );  echo(json_encode($result));  sqlsrv_free_stmt($data);  mssql_close($dbhandle); ?> 

when processing on php online test error

fatal error: call undefined function sqlsrv_connect() in [...][...]on line 7

here my php info http://www.bakerabilene.com/phpinfo.php

it shows sqlsrv registered php streams don't understand why not working.

i have stripped php down makes connection see if causing issue, still gives me same error.

i positive server/user/pass/db correct because use exact same credentials on aspx webpage access sql server.

check if native sql driver (microsoft drivers 3.0 php sql server) installed . have asked godaddy team ?


Comments