note 20993 added to ref.mssql
| From: | jd at keane dot com | Date: | Wed, 24 Apr 2002 18:36:29 +0000 |
| Subject: | note 20993 added to ref.mssql | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29773@lists.php.net to get a copy of this message | ||
Connecting to MSSQL 7 on UNIX/Apache/php4.1.2. I followed a bunch of instructions below from folks
using Linux and other configurations...so give this a try, it may work.
download freetds from www.freetds.org
configure arguments --with-prefix=/usr/local/freetds --with-tdsver=7.0
edit freetds.conf in /usr/local/freetds/etc/freetds.conf
[MyServer70]
host = XX.XX.XX.XXX(your MSSQL IP)
port = 1433
tds version = 7.0
client charset = UTF-8
reconfigure PHP using --with-sybase=/usr/local/freetds/ and all of your normal args.
restart apache and it works...well it did for me. Good luck
jd
--
http://www.php.net/manual/en/ref.mssql.php
http://master.php.net/manage/user-notes.php?action=edit+20993
http://master.php.net/manage/user-notes.php?action=delete+20993
http://master.php.net/manage/user-notes.php?action=reject+20993