Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46640 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13025 invoked from network); 11 Jan 2010 17:35:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2010 17:35:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.26.187 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.26.187 c2beaomr09.btconnect.com Received: from [213.123.26.187] ([213.123.26.187:6235] helo=c2beaomr09.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/24-26332-A516B4B4 for ; Mon, 11 Jan 2010 12:35:23 -0500 Received: from [10.0.0.5] (host81-138-11-136.in-addr.btopenworld.com [81.138.11.136]) by c2beaomr09.btconnect.com with ESMTP id DZM95286; Mon, 11 Jan 2010 17:35:19 GMT X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=0001.0A0B0301.4B4B6156.01E5, actions=tag Message-ID: <4B4B6156.7020601@lsces.co.uk> Date: Mon, 11 Jan 2010 17:35:18 +0000 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.23) Gecko/20090908 Fedora/1.1.18-1.fc11 pango-text SeaMonkey/1.1.18 MIME-Version: 1.0 To: marius adrian popa CC: PHP Developers Mailing List References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Status: score=10/50, host=c2beaomr09.btconnect.com X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A0B0208.4B4B6157.01AE,ss=1,fgs=0, ip=0.0.0.0, so=2009-07-20 21:54:04, dmn=5.7.1/2009-08-27, mode=single engine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Re: Bug #49955 can be closed From: lester@lsces.co.uk (Lester Caine) marius adrian popa wrote: > On Mon, Jan 11, 2010 at 3:44 PM, marius adrian popa wrote: >> Bug #49955 http://bugs.php.net/bug.php?id=49955 can be closed , i >> have tested with php 5.3 latest snapshot >> and firebird is on a remote host >> in fact i have tested with two remote hosts one with firebird 2.1 and >> one with firebird 2.5 >> I guess 10000000 connections are enough to see if it's all ok >> I got no error , it never reaches to die zone >> >> >> cat 49955.php >> > $user='SYSDBA'; >> $password='masterkey'; >> $database="192.168.0.1:/var/lib/firebird/2.5/data/employee.fdb"; >> for ($i = 1; $i <= 10000000; $i++) { >> echo $i; >> >> $conFb = @ibase_pconnect($database, $user, $password) >> or die("Error when trying to connect!"); >> } >> ?> >> >> >> also tested from apache the scripts dies only when it reaches max >> execution time , as expected for default php is 30 seconds >> lynx http://localhost/49955.php >> >> php versions tested: 5.3.3 snapshot (cli) (built: Jan 11 2010 13:19:54) >> >> and 5.3.1 rc2 (cli) (built: Nov 2 2009 17:22:21) + apache module >> > > I found it why it doesn't work on windows , seems that the php zip > contains an very old gds32.dll > that must be replaced with something that is stable from firebird > 2.1.x kit or 2.5.x > I have added the comments to the bug how to make it work Actually marius - it contains an INTERBASE client as it is an interbase extension. This was another reason for perhaps now switching to php_firebird, and using the fbird_xxx aliases as was planned from PHP5.0 days. The WINDOWS builds are supposed only to be made against the correct libraries, with the correct M$ compiler version, so building php_interbase against a firebird library breaks the rules anyway? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php