Subject | Re: [firebird-php] Connecting to firebird... |
---|---|
Author | Lester Caine |
Post date | 2005-04-11T16:57:22Z |
matty400m wrote:
only available with PHP5.
Also Firebird 2 *I* still have not tested with PHP yet :)
want to play with the latest version, you probably need to check it is
working on it's own first. the SERVICES file obviously does not have an
entry for port 3050
In addition make sure that the gds32.dll that is supplied with PHP is
deleted, and that Firebird2 is installed and has created a new gds32.dll.
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> I'm a novice with Firebird and I have a problem.Well that is a very old PHP, much of the newer Firebird facilities are
>
> I use Php(4.3.3) and Firebird(2.0).
only available with PHP5.
Also Firebird 2 *I* still have not tested with PHP yet :)
> When I try to connect at the database file with function:This would suggest that Firebird 2 has not installed properly. If you
>
> $host = 'localhost:C:/Program
> Files/Firebird/Firebird_2_0/examples/empbuild/Employee.fdb';
> $username = 'SYSDBA';
> $password = 'masterkey';
> $dbh = ibase_connect ( $host, $username, $password ) or die ("error in
> db connect");
>
> Php send this message:
>
> "Warning: ibase_connect(): Unable to complete network request to host
> "localhost". Failed to locate host machine. Undefined service
> gds_db/tcp. in C:\Documents and
> Settings\Administrator\Desktop\prova.php on line 14
> error in db connect"
want to play with the latest version, you probably need to check it is
working on it's own first. the SERVICES file obviously does not have an
entry for port 3050
In addition make sure that the gds32.dll that is supplied with PHP is
deleted, and that Firebird2 is installed and has created a new gds32.dll.
> ps: sorry for my english...Hope you can understand mine ;)
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services