I\'ve spent many days on this task, and I can\'t see the end until now. In the past day I managed to install sqlsrv driver on my PHP environment successfully but now when I
Make
1. $db['default']['pconnect'] = FALSE;
.
Then go to system/database/drivers/sqlsrv/sqlsrv_driver.php
function db_pconnect()
{
//$this->db_connect(TRUE);
return $this->db_connect(TRUE);
}
and
function affected_rows()
{
//return @sqlrv_rows_affected($this->conn_id);
return @sqlsrv_num_rows($this->result_id);
}