Re: Re: Bug #49955 can be closed
| From: | Lester Caine | Date: | Mon, 11 Jan 2010 17:35:18 +0000 |
| Subject: | Re: Re: Bug #49955 can be closed | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46640@lists.php.net to get a copy of this message | ||
marius adrian popa wrote:
On Mon, Jan 11, 2010 at 3:44 PM, marius adrian popa <mapopa@gmail.com> wrote: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.phpBug #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)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 workor 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