ID: 12003
Updated by: joey
Reported By: [EMAIL PROTECTED]
Old Status:
Status: Feedback
Bug Type: InterBase related
Operating System: Linux Red Hat 7.1 (2.4.2)
PHP Version: 4.0.6
New Comment:
The error message is implying that you have not made
the required updates to your /etc/services file that
Interbase requires.
Make sure the following line appears somewhere in your
/etc/services:
gds_db 3060/tcp
(This is assuming you haven't done anything silly which
would make interbase run on a port other than the default.)
Previous Comments:
------------------------------------------------------------------------
[2001-07-11 07:06:45] [EMAIL PROTECTED]
Compilation of php was:
./configure --with-interbase=/opt/interbase --with-apxs=/usr/local/apache/bin/apxs
--enable-debug.
Othervice ... I can't find a file php_interbase.so
------------------------------------------------------------------------
[2001-07-11 02:06:04] [EMAIL PROTECTED]
Sure. This problem is only on the server, where interbase is running.
------------------------------------------------------------------------
[2001-07-10 06:02:35] [EMAIL PROTECTED]
This does not like a PHP error, but PHP is rather relaying the error that InterBase
gives.
Are you sure Interbase running and the name 'localhost' resolves into an IP address?
Derick
------------------------------------------------------------------------
[2001-07-10 05:58:33] [EMAIL PROTECTED]
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 this 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]