From owner-freebsd-database Thu Dec 14 3:55: 4 2000 From owner-freebsd-database@FreeBSD.ORG Thu Dec 14 03:54:57 2000 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from gg.burdadigital.com (mail.incubate.de [212.14.77.2]) by hub.freebsd.org (Postfix) with ESMTP id 7CC9137B400 for ; Thu, 14 Dec 2000 03:54:55 -0800 (PST) Received: by gg.burdadigital.com (8.9.3/8.9.3) id MAA20181 for freebsd-database@freebsd.org; Thu, 14 Dec 2000 12:57:29 +0100 (CET) Received: (from localhost) by gg.burdadigital.com (MSCAN) id 2/gg.burdadigital.com/smtp-gw/mscan; Thu Dec 14 12:57:29 2000 User-Agent: Microsoft-Entourage/9.0.2509 Date: Thu, 14 Dec 2000 12:54:02 +0100 Subject: Re: PHP4 accessing Sybase with freetds From: Imdat Solak To: Message-ID: In-Reply-To: <200012141036.LAA16440@webmail1.xs4all.nl> Mime-version: 1.0 X-Company: Burda Digital GmbH Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 12/14/00 11:36 AM, "Reinoud van Leeuwen" wrote: >> except that when the connection is attempted by PHP, the error message goes >> into the /var/log/httpd-errors.log file. Apparently, PHP keeps trying to >> connect indefinitely, for the log file grows until it fills the space >> available in the partition where /var is mounted(100 Mb). Has anyone >> experienced this? >> >> I guess my next step will be to get the source code for FreeTDS, PHP and >> maybe even Apache and compile it. Then if that still does not work, I'll >> get the now available Sybase FreeBSD distribution... > > I have not succeeded getting the native FreeBSD Sybase libraries to build > anything like PHP of SybPerl on a 4.x FreeBSD box. It might have to do with > the > fact that FreeBSD 3.x emulates Redhat 5.x and FreeBSD 4.x emulates redHat 6.x > but I am not sure... > The FreeBSD Sybase Libraries don't work, AFAIK, I tried and it didn't work at all. The freetds implementation worked fine for me, there are couple of bugs, but it works, although I am only using it in conjunction with PHP4 and Apache. If you need further info (and how to set it up), please have a look at http://www.imdat.de/php/php4.html and at http://www.imdat.de/php/sybase_php_freetds_bug.txt I don't want to post the doc here as it's kind of long Best Imdat iso@imdat.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message