Skip to Content.
Sympa Menu

freetds - Re: FreeBSD 2.2.8, Apache 1.3.4, PHP 3.0.6- core dumped :(

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Dmitry Melekhov" <dm AT aspec.ru>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: FreeBSD 2.2.8, Apache 1.3.4, PHP 3.0.6- core dumped :(
  • Date: Tue, 9 Feb 1999 16:49:52 +0400


>On Tue, 9 Feb 1999, Dmitry Melekhov wrote:
>
>> Hi!
>>
>> I have freetsd snapshot (because I can't make
>> 0.41). I make php 3.0.6 witn db-lib (with ct-lib
>> it doesn't wont to make) and when I try to run
>> Apache it's do segfault :(
>>
>> Why?
>>
>I haven't tried the lastest snapshot with php yet, I'll try that tonight.
>In the meantime have you tried building PHP as a standalone program (no as
>a webserver module) and does that work. That will give us something to go
>on.
>
It's partially work :(

Connect seems good.
But when I try to execute
<? $handle=sybase_connect('SYBASE', 'sa', 'gudvin_dba');
print "1\n";
sybase_select_db('squid');
print "2\n";
// sybase_query("set dateformat dmy");
$result=sybase_query("select * from q");
while($row=sybase_fetch_array($result)) {
print $row[0];print "\n"; }
print "ok\n";
?>

I get strange output (see attach) there must be only one string
test

Then:
when I try to get more data FreeBSD froze, so doesn't want to do
anythint until ctrl-c, and I get _nothing_ !!! But dataserver was worked
it use cpu time.

I have Sybase 11.0.3.3 on Linux.


BTW, can I compile sybase::dbd with freetds?
---
Dmitry Melekhov
(aka 2:5050/11.23@fidonet)
http://www.aspec.ru/~dm

Attachment: q.dat
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page