Re: tableInfo with MSSQL

From: Date: Mon, 05 Jan 2004 21:27:06 +0000
Subject: Re: tableInfo with MSSQL
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9971@lists.php.net to get a copy of this message
Peter wrote:
Hi, I am testing porting a web site to various DB's and am trying to get it going with MSSQL, just for a laugh :-). The call to $result->tableInfo() causes PHP to terminate with no message. When connecting to Postgres or MySQL servers the same code works fine. (I am using the latest downloads of FreeTds and PHP 4 (--with-sybase), compiled and installed on RedHat 2.2.5-22)
Hi Peter, don't use the Sybase extension for this. Fetch a recent PHP version and compile it with --with-mssql, or use ODBTP (http://odbtp.sourceforge.net/) - a PEAR::DB driver for this great extension is being worked on by ODBTP's author. You won't get tableInfo() to run with the Sybase extension - it simply lacks the needed functions. CU Markus

« previous php.pear.general (#9971) next »