note 28941 deleted from ref.mssql by sniper
| From: | sniper@php.net | Date: | Mon, 17 Nov 2003 22:58:10 +0000 |
| Subject: | note 28941 deleted from ref.mssql by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-60528@lists.php.net to get a copy of this message | ||
Note Submitter: larsrohr@eecs.berkeley.edu
----
Apache/2.0.44 (Unix) mod_ssl/2.0.44 OpenSSL/0.9.7 PHP/4.3.0
We compiled PHP with "--with-mssql=/usr/local/freetds", and found that we could only
mssql_connect using the IP:port syntax, not the name we defined in freetds.conf.
To fix this, we added to the /usr/local/apache2/bin/envvars file:
FREETDSCONF="/usr/local/freetds/etc/freetds.conf"
export FREETDSCONF