note 105649 added to mssql.requirements
| From: | MikeMannakee at osu1 dot php dot net | Date: | Sat, 03 Sep 2011 21:21:30 +0000 |
| Subject: | note 105649 added to mssql.requirements | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182933@lists.php.net to get a copy of this message | ||
The note about the server alias is correct. Connecting from a Linux box to a MS SQL server machine
doesn't just happen because you have FreeTDS installed. To get it to work I used the
freetds.conf file located at
/usr/local/etc/freetds.conf
NOT
/usr/local/freetds/etc/freetds.conf
I used the setup:
[RemoteServer]
host = xxx.xxx.xxx.xxx
port = 1433
tds version = 7.0
Then in the PHP script called
mssql_connect("RemoteServer");
and it works!
BUT BE AWARE THAT THERE ARE TWO FREETDS.CONF FILES. IF ONE DOESN'T WORK FIND THE OTHER ONE.
----
Server IP: 69.147.83.197
Probable Submitter: 173.170.157.34
----
Manual Page -- http://www.php.net/manual/en/mssql.requirements.php
Edit -- https://master.php.net/note/edit/105649
Del: integrated -- https://master.php.net/note/delete/105649/integrated
Del: useless -- https://master.php.net/note/delete/105649/useless
Del: bad code -- https://master.php.net/note/delete/105649/bad+code
Del: spam -- https://master.php.net/note/delete/105649/spam
Del: non-english -- https://master.php.net/note/delete/105649/non-english
Del: in docs -- https://master.php.net/note/delete/105649/in+docs
Del: other reasons-- https://master.php.net/note/delete/105649
Reject -- https://master.php.net/note/reject/105649
Search -- https://master.php.net/manage/user-notes.php