On Mon, Jan 11, 2010 at 3:44 PM, marius adrian popa <map...@gmail.com> 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php