Opened 3 years ago

Closed 3 years ago

#1486395 closed Feature Requests (fixed)

sqlsrv extension and driver for MS SQL 2005/2008 and PHP 5.3

Reported by: mishoddt Owned by:
Priority: 3 Milestone: 0.4-beta
Component: Database Version: 0.3.1
Severity: major Keywords: MSSQL, sqlsrv, PHP 5.3
Cc:

Description

Hello!
The problem is that the RC doesn't work in configuration IIS, MSSQL, PHP 5.3.x. In PHP 5.3 the php_mssql driver is depreciate and the Microsoft SQL Server Driver for PHP must be used to connect to the MS SQL.

The API has changed between MSSQL and SQLSRV. For example, in order to connect you need to use the function 'sqlsrv_connect' and not 'mssql_connect'. The MDB2 driver mssql.php included in the RC distribution use the old connection 'mssql_connect'. An sqlsrv.php driver is also not available with roundcube.

I'm not a developer and I don't know how to fix this. Your help to fix this driver will be highly appreciated!

Thanks!

Change History (3)

comment:1 Changed 3 years ago by alec

  • Component changed from Core functionality to Database
  • Milestone changed from later to 0.4-beta

There's a new driver http://pear.php.net/package/MDB2_Driver_sqlsrv, but we need some small changes in Roundcube code to support it.

comment:2 Changed 3 years ago by alec

  • Type changed from Patches to Feature Requests

comment:3 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [2273d411].

Note: See TracTickets for help on using tickets.