How do I compile PHP 3 with FreeTDS?
Please refer to the User Guide. One small PHP hint, mailed to the FAQ master in May 2001: In the mailing list archives I noticed a few people discussing a problem I just had. An attempt to make a connection to a MS SQL server from PHP would fail, leaving a message in the Apache error log: “connect: Network is unreachable DB-Library: Login incorrect” The problem turned out to be a very simple one to fix. In the php.ini file under the sybase section, there is a directive that sets the path to the sybase interfaces file “sybase.interface_file = ” After uncommenting this and setting it to a reasonable value (ie. /usr/local/freetds/interfaces), things started working.