[PHP] php/osx and firebird

2005-06-15 Thread James
I have a windows machine with Firebird and the default database. I've configured another machine with Apache and PHP. I want to write PHP scripts to remotely access the Firebird database. I followed the instructions at: http://us3.php.net/ibase I changed the php.ini to enable the

Re: [PHP] php/osx and firebird

2005-06-15 Thread Kristen G. Thorson
Undefined service gds_db/tcp. Sounds to me like it's not finding the port in services. I don't know what default port Firebird is listening on, but you should have an entry like gds_db/tcp 1234/tcp in c:\windows\system32\drivers\etc\services. You'll have to find out exactly which

Re: [PHP] php/osx and firebird

2005-06-15 Thread James
Here's the answer! http://community.borland.com/article/0,1410,25290,00.html I updated the SERVICE file on my Apache/PHP machine and all is well. At 12:04 PM -0400 6/15/05, James wrote: I have a windows machine with Firebird and the default database. I've configured another machine with

Re: [PHP] php/osx and firebird

2005-06-15 Thread Richard Lynch
On Wed, June 15, 2005 9:04 am, James said: $host = 10.1.4.58:c:\fbwin50\fbdata\fbdata.fdb; $username = SYSDBA; $password = masterkey; $dbh = ibase_pconnect ($host, $username, $password); $stmt = SELECT * FROM EVENTTYP; $sth = ibase_query ($dbh, $stmt); Warning: ibase_pconnect()

Re: [PHP] php/osx and firebird

2005-05-06 Thread Jochem Maas
James wrote: I've attempted to access a firebird database living on an osx/apache/php machine. When I'm running the following script, ?php ini_set(magic_quotes_sybase, On); $host = 'localhost:/Library/Frameworks/Firebird.framework/Resources/examples/employee.fdb'; for portability and

[PHP] php/osx and firebird

2005-05-05 Thread James
I've attempted to access a firebird database living on an osx/apache/php machine. When I'm running the following script, ?php ini_set(magic_quotes_sybase, On); $host = 'localhost:/Library/Frameworks/Firebird.framework/Resources/examples/employee.fdb'; $username = sysdba; $password =

Re: [PHP] php/osx and firebird

2005-05-05 Thread Gabriel Guzman
James wrote: I've attempted to access a firebird database living on an osx/apache/php machine. snip How do I enable those functions? I've looked at the php documentation (http://uk2.php.net/manual/en/ref.ibase.php ) To enable InterBase support configure PHP --with-interbase[=DIR], where DIR

Re: [PHP] php/osx and firebird

2005-05-05 Thread Lester Caine
James wrote: To enable InterBase support configure PHP --with-interbase[=DIR], where DIR is the InterBase base install directory, which defaults to /usr/interbase. I've tried to add: --with-interbase=/Library/Frameworks/Firebird.framework/Resources to my php.ini and it didn't work. That does not