note 28941 added to ref.mssql
| From: | larsrohr at eecs dot berkeley dot edu | Date: | Tue, 28 Jan 2003 19:30:40 +0000 |
| Subject: | note 28941 added to ref.mssql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42944@lists.php.net to get a copy of this message | ||
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
--
http://www.php.net/manual/en/ref.mssql.php
http://master.php.net/manage/user-notes.php?action=edit+28941
http://master.php.net/manage/user-notes.php?action=delete+28941
http://master.php.net/manage/user-notes.php?action=reject+28941