From:             [EMAIL PROTECTED]
Operating system: Linux Red Hat 7.1 (2.4.2)
PHP version:      4.0.6
PHP Bug Type:     InterBase related
Bug description:  failed to locate host machine

I have a problem with connecting to database server.
I have W2000+Apache1.3.20+PHP4.06 machine and when I connect with
$dbh =
ibase_pconnect('interbase.agropol:/opt/interbase/data/ptf.gdb','name','pass');
it works.
The server is Red Hat 7.1. But when I try to connect from itself with
$dbh =
ibase_connect('localhost:/opt/interbase/data/ptf.gdb','name','pass');
it returns to me 
Warning: InterBase: Unable to complete network request to host "localhost".
Failed to locate host machine. Undefined service gds_db/tcp. in
/usr/local/apache/htdocs/cl.php on line 11

-- 
Edit bug report at: http://bugs.php.net/?id=12003&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to