#49955 [Com]: Warning: Unknown: Unable to complete network request
| From: | mapopa at gmail dot com | Date: | Mon, 11 Jan 2010 17:01:25 +0000 |
| Subject: | #49955 [Com]: Warning: Unknown: Unable to complete network request | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-146545@lists.php.net to get a copy of this message | ||
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:
I have started windows xp in virtualbox and found why it doesn't work
on windows
dowloaded the php 5.2.12 http://www.php.net/get/php-5.2.12-
Win32.zip/from/a/mirror
unzip it in c:\php
enable interbase dll extension in php.ini and allow persistent
connection
installed firebird 2.1.3 stable from
http://www.firebirdsql.org/index.php?op=files&id=engine_213
allow the installer to create the lagacy gds32 and firebird client dll
in system folder
Delete the old gds32 (interbase 6.0.x dll) from php folder
it's very old and unsupported, this is why it doesn't work on windows
(persistent connection)
http://picasaweb.google.com/lh/photo/C_I1CJYsyZXrGLtNjDxVTg?
authkey=Gv1sRgCIeMif_wgf2N3wE&feat=directlink
Previous Comments:
------------------------------------------------------------------------
[2010-01-11 14:26:22] mapopa at gmail dot com
also tested with
PHP 5.2.12 (cli)
------------------------------------------------------------------------
[2010-01-11 13:57:13] mapopa at gmail dot com
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
------------------------------------------------------------------------
[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] jani@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!
------------------------------------------------------------------------
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