Re: linux, apache, mssql
| From: | Jason Sheets | Date: | Wed, 07 May 2003 13:23:14 +0000 |
| Subject: | Re: linux, apache, mssql | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146667@lists.php.net to get a copy of this message | ||
I just accomplished this with FreeTDS, note that I had to use --with-sybase and not --with-mssql (when --with-mssql was used the connect functions did not return a valid mssql connection). After I compiled with --with-sybase=/path/to/freetds I was able to use the mssql functions and the sybase functions.
Take a look at the user contributed notes on http://www.php.net/manual/en/ref.sybase.php.
The first thing you need to do is get freetds compiled and installed (FreeTDS's manual covers this pretty well). After you install FreeTDS make sure you can use the FreeTDS client to connect to your server, after that it's pretty much in the bag..
Jason
H M Kunzmann wrote:
Hi all. If this question has featured on the list before, I do apologize. I've just joined the list out of desperation. I need to have access to mmsql from php/linux. Previously I used to us freetds with php, but since redhat 9 I just can't get the stuff to compile/work. I keep on getting sybase compile errors from php. Does anyone have another way to do it (odbc?) or can anyone help me with getting it up and running with freetds. Thanks in advance.