From owner-freebsd-database Thu Dec 14 2:50:39 2000 From owner-freebsd-database@FreeBSD.ORG Thu Dec 14 02:50:37 2000 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from smtp10.xs4all.nl (smtp10.xs4all.nl [194.109.6.54]) by hub.freebsd.org (Postfix) with ESMTP id AB3C037B400 for ; Thu, 14 Dec 2000 02:50:33 -0800 (PST) Received: from webmail1.xs4all.nl (webmail1.xs4all.nl [194.109.127.31]) by smtp10.xs4all.nl (8.11.0/8.11.0) with ESMTP id eBEAnbL29220 for ; Thu, 14 Dec 2000 11:49:37 +0100 (CET) Received: by webmail1.xs4all.nl (8.9.3/8.9.3) id LAA16440; Thu, 14 Dec 2000 11:36:06 +0100 (CET) Date: Thu, 14 Dec 2000 11:36:06 +0100 (CET) Message-Id: <200012141036.LAA16440@webmail1.xs4all.nl> X-Authentication-Warning: webmail1.xs4all.nl: reinoud set sender to reinoud@xs4all.nl using -f From: Reinoud van Leeuwen To: freebsd-database@FreeBSD.ORG References: <20000803161257.26001@mail.bd.intern> <19340821093947.27766@mail.bd.intern> <001701c0656b$6cc798a0$0300000a@joaquinhr> In-Reply-To: <001701c0656b$6cc798a0$0300000a@joaquinhr> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: IMP/PHP3 Imap webMail Program 2.0.0-xs4all Subject: Re: PHP4 accessing Sybase with freetds Sender: owner-freebsd-database@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Quoting =?iso-8859-1?Q?Joaqu=EDn_Hern=E1ndez_Rico?= : > Well, before I give up and try to Compile PHP from sources, I want to > give > the fBSD ports and myself one more chance: > > On a FreeBSD 4.1-Stable box, I tried installing Apache and PHP (3 _and_ 4) > with Sybase support from both the CD Packages and the Ports collection. > Both > of these installation methods use FreeTDS. I have checked and rechecked > all the different configuration files and everything seems to be in order, > but when I try to connect to our Sybase 7.0 database at work, I get an > "invalid marker: 0!!" error message. This happens even when using > "sqsh", When you say Sybase 7.0 yuo probably mean Sybase Anywhere 7.0. I do not nkow abuot the current relases, but it used to be the case that Sybase Anywhere and Sybase Enterprise had different clients. FreeTSD is an implementation of the Open Client, which is meant to connect to Sybase Enterprise. You can test this by trying to connect to the database from another Open CLient. If that works, it might be supported these days. > 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... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-database" in the body of the message