[PHP] freetds

2004-07-27 Thread Jon Bertsch
Hi, Make sure freetds was compiled with --enable-msdblib Make sure that php was compiled with --with-mssql=/path/to/freetds Make sure that you edit the file freetds.conf (freetds/etd/freetds.conf) to have an entry for your database e.g: [myserver] host = myserver.domain.name port =

Re: [PHP] freeTDS

2004-07-27 Thread Josh Close
Well, they're going to have to install php with mssql support also ./configure --with-mssql --with-freetds there are examples in the freetds.conf file of what you need to do. Basically just telling it where to connect. -Josh On Tue, 27 Jul 2004 16:49:37 -0400, John Nichel <[EMAIL PROTECTED]> w

Re: [PHP] freeTDS

2004-07-27 Thread John Nichel
Edward Peloke wrote: no, I don't see any mssql info...and yes, they said they did recompile with freetds. If there anything I have to change in the freetds conf file or in php.ini? Then either : A) It hasn't been compiled with FreeTDS or, B) The web server hasn't been restarted. -- John C. Nichel

Re: [PHP] freeTDS

2004-07-27 Thread John Nichel
Edward Peloke wrote: no, I don't see any mssql info...and yes, they said they did recompile with freetds. If there anything I have to change in the freetds conf file or in php.ini? Then either : A) It hasn't been compiled with FreeTDS or, B) The web server hasn't been restarted. -- John C. Nichel

RE: [PHP] freeTDS

2004-07-27 Thread Edward Peloke
: Php-General Subject: Re: [PHP] freeTDS > I was simply using a script which attempts to use the mssql_connect function > yet I still get the error that it is undefined > > http://mwvre.ht-tech.net/dbtest.php if you do a phpinfo() do you see any mssql information? php needs to be comp

Re: [PHP] freeTDS

2004-07-27 Thread James E Hicks III
On Tuesday 27 July 2004 03:54 pm, Edward Peloke wrote: > My web host recompiled php with the freeTDS library for me so that I can > use the php mssql extensions but it still doesn't seem to work. He has > told me that I can change the configuration file...what needs to be done? Just guessing her

Re: [PHP] freeTDS

2004-07-27 Thread Matt M.
> I was simply using a script which attempts to use the mssql_connect function > yet I still get the error that it is undefined > > http://mwvre.ht-tech.net/dbtest.php if you do a phpinfo() do you see any mssql information? php needs to be compiled with freetds http://us4.php.net/mssql --

RE: [PHP] freeTDS

2004-07-27 Thread Edward Peloke
-General Subject: Re: [PHP] freeTDS > My web host recompiled php with the freeTDS library for me so that I can use > the php mssql extensions but it still doesn't seem to work. He has told me > that I can change the configuration file...what needs to be done? any error messages

Re: [PHP] freeTDS

2004-07-27 Thread Matt M.
> My web host recompiled php with the freeTDS library for me so that I can use > the php mssql extensions but it still doesn't seem to work. He has told me > that I can change the configuration file...what needs to be done? any error messages? Can you use tsql to connect to the mssql databases?

[PHP] freeTDS

2004-07-27 Thread Edward Peloke
My web host recompiled php with the freeTDS library for me so that I can use the php mssql extensions but it still doesn't seem to work. He has told me that I can change the configuration file...what needs to be done? Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] Freetds + php 4.3.1

2003-03-26 Thread Damien Croarken
Can someone please give me an idea as to why php returns dates in m-d-y format when using freetds under 4.3.1, when tsql (freetds client) returns them in unix datestamp format? Damien -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Adam Voigt
Hmm, weird, mine worked perfectly the first time through when I installed it, no havingto mess with permissions or anything. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-08-20 at 12:18, Benji Spencer wrote: > > >Your path to the interface file must be wrong, in > >my php.ini I have it set to "/usr

Re: [PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Benji Spencer
>Your path to the interface file must be wrong, in >my php.ini I have it set to "/usr/local/freetds/conf/freetds.conf" >Are you sure the path is right? At the top of the freetds.conf file...is.. # FreeTDS will search for a conf file in the following order: # # 1) check if a file was set pro

RE: [PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Scott Houseman
20 August 2002 05:21 > To: [EMAIL PROTECTED] > Subject: [PHP] Freetds + Sybase-ct + mssql problems > > > I finally got PHP 4.0.6 compiled with > sybase-ct=/usr/local/freetds for use > with mssql. However, it seems like php doesn't know where to find the > interfaces file.

Re: [PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Adam Voigt
Your path to the interface file must be wrong, in my php.ini I have it set to "/usr/local/freetds/conf/freetds.conf" Are you sure the path is right? Adam Voigt [EMAIL PROTECTED] On Tue, 2002-08-20 at 11:20, Benji Spencer wrote: > I finally got PHP 4.0.6 compiled with sybase-ct=/usr/local/freetds

[PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Benji Spencer
I finally got PHP 4.0.6 compiled with sybase-ct=/usr/local/freetds for use with mssql. However, it seems like php doesn't know where to find the interfaces file. Is there a configuration option which allows me to tell PHP where to find the interfaces file and/or where is it looking for the int

[PHP] freetds problem???

2001-09-17 Thread Marcos Mathias
Hey people! Someone can help a newbie in php please?? I have a php program running under linux Suse 7.1 and Apache 1.3.19 that connects into a Sql server 7 under win2k using the freetds and iodbc 3.0.5 to connect. I'm having some problems that i could not understand. I hope someone can help me.

[PHP] freeTDS installation

2001-02-15 Thread Scott Fletcher
Hi! I read the instruction and am not sure on whether to proceed or not. The instruction mentioned that you install/compile the FreeTDS first then compile PHP 2nd. So, does this mean I have to compile Apache as well? Thanks, Scott -- PHP General Mailing List (http://www.php.net/) To un