note 36342 deleted from ref.mssql by sniper
| From: | sniper@php.net | Date: | Mon, 17 Nov 2003 22:58:42 +0000 |
| Subject: | note 36342 deleted from ref.mssql by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60540@lists.php.net to get a copy of this message | ||
Note Submitter: duarte@uma.pt
----
SQLServer 2000 (win2k) and PHP 4.3.3 + FreeTDS 0.61.1 (SuSE 7.3)
I coulnd't connect to SQLServer 2000 after compiling PHP 4.3.3 with FreeTDS 0.61.
But I had in the same machine PHP 4.2.3 + FreeTDS 0.61 and it was working fine.
I found in a freetds mailing list that PHP now set mssql.textsize and mssql.textlimit, so, to get
PHP 4.3.3 connecting with MSSQL 2000 with FreeTDS 0.61 we should comment out the following lines in
PHP.INI:
;mssql.textlimit= xxxx
;mssql.textsize= xxxx
I have compiled FreeTDS --with-tdsver=7.0 --enable-msdblib
and PHP --with-mssql=/usr/local/freetds
More details in: http://lists.ibiblio.org/pipermail/freetds/2003q3/013323.html
I hope this helps somebody because I spent 2 days to solve this "problem"... ;-)