php4b3 and freetds

From: Date: Thu, 25 Nov 1999 19:17:25 +0000
Subject: php4b3 and freetds
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-6898@lists.php.net to get a copy of this message
Morning people. (well it is here, and a pretty one too). Opinions on freetds support under php4? the latest cvs will build with it, but for those who have tried it segfaults under certain circumstances. I have tracked down the problem and "hacked" a fix in, and I *mean* hack, it sucks, but before I look at a real solution, I wanna know whether people are interested in supporting it. As far as I am aware, freetds is the only sybase-ct compatible library that will run on the latest debian and still talk to MS-SQL, so it might be a good move (I certainly hope so..:) Essentially, after you get past the fact that freetds does an fprintf(stderr) where it shouldn't, the problem is that php4 calls ct_con_props(CS_GET,CS_CON_STATUS,..), and freetds doesn't support the status call (hence it tries to tell the user wich an fprintf which segfaults the program). As far as I can see, its a missing feature in freetds, which should really be recitified, I can look at doing that, but is there a decent number of people who are likely to be in this situation? Richard.

« previous php.version4 (#6898) next »