php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30484 I can't connect to my interbase DB
Submitted: 2004-10-19 19:41 UTC Modified: 2005-02-06 06:54 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: miguelfd at sigmanet dot com dot br Assigned:
Status: Not a bug Package: InterBase related
PHP Version: 4CVS-2004-10-19 (stable) OS: Windows
Private report: No CVE-ID: None
 [2004-10-19 19:41 UTC] miguelfd at sigmanet dot com dot br
Description:
------------
I was using the Xitami web server but now I want to use the Apache. So I've downloaded the Apache 2 and instaled, configured, the PHP works fine and Apache too, but when I try to connect to my Database it returns me an error.

Reproduce code:
---------------
if (!$conn = ibase_connect("C:\Temp\webMM\MM.GDB","SYSDBA","masterkey")) {
  exit("Can't connect to database: " . ibase_errmsg());
} else {
  echo "Connected!";
}

Expected result:
----------------
Can't connect to database: unavailable database 

Actual result:
--------------
Connected!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-19 19:46 UTC] miguelfd at sigmanet dot com dot br
I inverted, in true, the Expected Result is the Actual Result and the Actual Result is what I expect! :-)
 [2004-10-23 14:59 UTC] steffen dot sds at gmx dot net
Same problem in linux (php 5.0.2 stable) + Firebird2 (1.5.1-3).

If I try ibase_connect() or ibase_pconnect() it fails with
"Connection lost to pipe server operating system directive stat failed No such file or directory in ..."

Doesn't matter if I connect directly or over TCP/IP.
 [2005-02-06 06:54 UTC] sniper@php.net
Works fine here. You're either doing it wrong or something is not configured correctly. Ask further support questions on the appropriate mailing list.

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Mar 30 11:01:25 2020 UTC