ID:               49955
 Comment by:       mapopa at gmail dot com
 Reported By:      atendimento at n2g dot com dot br
 Status:           Open
 Bug Type:         InterBase related
 Operating System: Windows
 PHP Version:      5.2.11
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2009-10-23 16:21:05] atendimento at n2g dot com dot br

Ok. I've updated my PHP to this version and the error keeps the same. I
don't know what else to do!

------------------------------------------------------------------------

[2009-10-23 10:16:56] j...@php.net

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------

[2009-10-22 13:55:33] atendimento at n2g dot com dot br

I did. And returned the normal result:

Hello world!

------------------------------------------------------------------------

[2009-10-22 13:37:44] j...@php.net

Does something simple like this work:

<?php echo "Hello world!"; ?>

------------------------------------------------------------------------

[2009-10-22 13:35:47] atendimento at n2g dot com dot br

There's no firewall. Actually, the script is connecting to the
database. It retrieves the results correctly. But he gives me that
error.

Thank's for replying.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/49955

-- 
Edit this bug report at http://bugs.php.net/?id=49955&edit=1

Reply via email to