Is there any requirements for this driver?

I use Ubuntu 10.04, PHP 5.3.2, and apt-get install libsybdb5 freetds-common php5-sybase

Modified /etc/freetds/freetds.conf

Then install D7 with this module, I got error This driver doesn't support transactions

Comments

carlo satta’s picture

Hi.
I have the same problem on a Centos 5 with php 5.3.

Pedja Grujić’s picture

This is a known PHP bug, it has been fixed in php 5.4 update to that and you should be good to go.

thmnhat’s picture

Issue summary: View changes

Hi bonn, could you please confirm that your pb is fixed?

encelado’s picture

Status: Active » Fixed

The PHP issue mentioned by pgrujic is documented at https://bugs.php.net/bug.php?id=38955. If you cannot upgrade you could try to patch and recompile the driver for PHP 5.3 (the patch is available at http://svn.php.net/viewvc/?view=revision&revision=300628) but if you don't really need transactions you can just disable them in settings.php:

$databases['your_sql_server_db_alias']['default'] = array(
  'driver' => 'dblib',
  …
  'transactions' => FALSE,
);

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.