From: andersonsandri at hotmail dot com
Operating system: Win 2003
PHP version: 4.4.7
PHP Bug Type: InterBase related
Bug description: Connect with Firebird
Description:
------------
I have 5 computer in my Store, one is a server. I'am trying connect to the
data base that is in another computer in my LAN. The php script is in my
Server (192.168.0.1) and the database is in MICRO004 (192.168.0.14) in the
Directory "C:\apoio\", if I connect with the $host = Localhost, connect
with sucess, but is not the correct database that I want to use. I want to
use the database that is on Micro004. When I try to connect with the $host
= 'micro004:C:\apoio\XXX.GDB'; show this error:
Warning: ibase_connect(): Unable to complete network request to host
"micro004". Failed to establish a connection. unknown Win32 error 10060 in
c:\inetpub\wwwroot\apoio\classes.php on line 7
Fatal error: Maximum execution time of 30 seconds exceeded in
c:\inetpub\wwwroot\apoio\classes.php on line 7
Reproduce code:
---------------
<?php
$host = 'micro004:C:\apoio\XXX.GDB';
//$host = 'localhost:C:\apoio\XXXX.GDB';
$username='SYSDBA';
$password='masterkey';
$db = ibase_connect($host, $username, $password) or die ("Erro ao Conectar
o Banco.");
?>
Expected result:
----------------
I woul like to connect the database that is on Micro004 in the directory
C:\apoio\XXX.GDB (or computer 192.168.0.14) and not only the server
(192.168.0.1).
--
Edit bug report at http://bugs.php.net/?id=42605&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=42605&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=42605&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=42605&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42605&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=42605&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42605&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42605&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42605&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42605&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42605&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=42605&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=42605&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42605&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42605&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42605&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42605&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42605&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42605&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42605&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42605&r=mysqlcfg