Skip to Content.
Sympa Menu

freetds - [freetds] PHP & FreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Petar Djekic <pdjekic AT smail.uni-koeln.de>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] PHP & FreeTDS
  • Date: Sun, 15 Aug 2004 02:20:02 +0200

Hello,

i have a Problem getting PHP and FreeTDS running together. Im using
FreeTDS to access an remote SQL 2K server. Ive build FreeTDS using:

'./configure --prefix=/usr/local/freetds --with-tdsver=7.0
--enable-msdblib --enable-dbmfix --disable-libiconv'

and PHP using './configure --mssql=/usr/local/freetds --mysql=/usr
--with-apxs2=/etc/httpd/bin/apxs' and few others..

both complied fine and PHP says its got mssql support in the
phpinfo()..i can connect to the mssql database via tsql too.

now when i run an php script just containing '<?php $sql =
mssql_connect(server, user, pass) ?>' i get an 'Zero Sized Reply'
Error..accessing the local mysql database via PHP works fine.

Also, how can i run any SQL queries in tsql?

Thanks for your efforts,
Petar






Archive powered by MHonArc 2.6.24.

Top of Page