note 46224 deleted from ref.mssql by cmb
| From: | cmb@php.net | Date: | Sun, 18 Aug 2019 08:35:26 +0000 |
| Subject: | note 46224 deleted from ref.mssql by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211917@lists.php.net to get a copy of this message | ||
Note Submitter: mworku at yahoo dot com
----
If you want to utilize the freetds.conf file db parameters within
mssql_connect() function
<?php
putenv('FREETDSCONF=/etc/freetds.conf');
/*
mssql_connect('MSSQL_8.0' , 'user' , 'pwd');
....
....
*/
?>
FreeTDS conf file
[MSSQL_8.0]
host = 10.254.254.10
port = 1433
tds version = 8.0