freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: FreeTDS 0.53 + PHP 4.0.6 + MSSQL 7.0 Cannot select database
- From: Andre Costa <brblueser AT uol.com.br>
- To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
- Subject: Re: FreeTDS 0.53 + PHP 4.0.6 + MSSQL 7.0 Cannot select database
- Date: Mon, 19 Aug 2002 15:55:44 -0300
Hi,
just as a side note, I believe you can specify both --with-apache and
--enable-cli to generate both Apache module and a CLI binary, which will
be located on [php-build-dir]/sapi/cli, and might *not* be automatically
installed with a 'make install' (at least it did not happen to me, but I
might have overlooked some ./configure parameter).
HTH,
Andre
On Mon, 19 Aug 2002 14:29:16 -0400
Brian Bruns wrote:
> Have you grabbed SQSH and compiled to make sure you have a working
> setup? Also, which api for PHP are you using (--with-sybase or
> --with-sybase-ct), does using the other one make a difference. Thirdly,
> if you can create an executable of php (by not specifying --with-apache)
> you can run it under gdb and break it when it goes into the loop and do
> a backtrace to see where the code is hanging.
>
> Brian
>
> > HI I'm new to the freeTDS and php arena. I'm trying to connect to an
> > SQL server on a windows 2000 machine from a linux machine. I have
> > created a web based interface to the database using PHP4.0.6. This is
> > the script I am using:
> >
> > $db = mssql_connect("server","username","passwd") or die ("cannot
> > connect");
> > mssql_select_db("database_name", $db) or die("cannot select");
> >
> > The first statement works. I can connect to the database but the
> > script hangs at the mssql_select_db() statement it doesn't die
> > even....it just runs till the max_execution_time specified and then
> > timeouts. I have increased this max_execution_time to a large value
> > also but no use. Can any of you help me on thi please. Also please let
> > me know if using PHP is a good idea or not. If not which would be the
> > best way of connecting linux to windows using freetds?
> > Please reply to this asap...please my project is not moving ahead
> > because of this.
> >
> > thanks,
> > teju
>
> ---
> You are currently subscribed to freetds as: [brblueser AT uol.com.br]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
-
FreeTDS 0.53 + PHP 4.0.6 + MSSQL 7.0 Cannot select database,
Teju, 08/19/2002
- <Possible follow-up(s)>
- Re: FreeTDS 0.53 + PHP 4.0.6 + MSSQL 7.0 Cannot select database, Brian Bruns, 08/19/2002
- Re: FreeTDS 0.53 + PHP 4.0.6 + MSSQL 7.0 Cannot select database, Andre Costa, 08/19/2002
- Re: FreeTDS 0.53 + PHP 4.0.6 + MSSQL 7.0 Cannot select database, Mr Tejasvi Chakravarthy, 08/19/2002
Archive powered by MHonArc 2.6.24.