php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42605 Connect with Firebird
Submitted: 2007-09-09 18:10 UTC Modified: 2007-09-09 18:18 UTC
From: andersonsandri at hotmail dot com Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.4.7 OS: Win 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andersonsandri at hotmail dot com
New email:
PHP Version: OS:

 

 [2007-09-09 18:10 UTC] andersonsandri at hotmail dot com
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).


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-09 18:18 UTC] andersonsandri at hotmail dot com
I found the Problem: THE WINDOWS FIREWALL ON MICRO004
Now is perfect :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC