Skip to Content.
Sympa Menu

freetds - RE: Apache 1.3.22 + PHP 4.0.6 + FreeTDS 0.53 + MS-SQL 7.0 (win2K) segfaulting

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Dave Brotherstone" <davegb AT pobox.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Apache 1.3.22 + PHP 4.0.6 + FreeTDS 0.53 + MS-SQL 7.0 (win2K) segfaulting
  • Date: Sun, 21 Apr 2002 08:16:11 +0100


If it's PHP, it's normally datatypes. It can't cope with all of the
datatypes - binary (e.g. uniqueidentifiers) and money (I think) don't go
down well. Do a convert(varchar(..), ...) in your query, and see if that
helps.

Dave.

>
> Hi all,
>
> I know this has been discussed a couple of times already (I believe this
> is a known issue), but after some searching on this list's archives I am
> still stuck.
>
> I verified with SQSH, the DB is indeed reachable. So, it seems it is a
> probl with Apache+PHP.
>
> I tried downgrading PHP to 4.0.4 (always recompiling with
> --with-sybase=/usr/local/freetds), to no avail.
>
> Apache's error_log reports:
>
> [Fri Apr 19 12:43:47 2002] [notice] child pid 1489 exit signal
> Segmentation fault (11)
> [Fri Apr 19 12:43:48 2002] [notice] child pid 1491 exit signal
> Segmentation fault (11)
>
> (this happens at a 2x/sec rate when I load the page that attempts the
> connection)
>
> Anyone has been able to overcome this probl? I tried with both versions
> 4.2 and 7.0 of the protocol.
>
> BTW: I am running RH 7.1 Linux with kernel 2.4.19pre1
>
> Let me know if you need additional info.
>
> TIA,
>
> Andre
>
> ---
> You are currently subscribed to freetds as: [davegb AT pobox.com]
> To unsubscribe, forward this message to
> $subst('Email.Unsub')
>
>





Archive powered by MHonArc 2.6.24.

Top of Page